Assign API resource roles to application
Assign API resource roles to the specified application. The API resource roles will be added to the existing API resource roles.
Path parameters
-
The unique identifier of the application.
POST
/api/applications/{applicationId}/roles
curl \
--request POST https://[tenant_id].logto.app/api/applications/{applicationId}/roles \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"roleIds":["string"]}'
Request examples
{
"roleIds": [
"string"
]
}