Assign role to applications
Assign a role to a list of applications. The role must have the type Application
.
Path parameters
-
The unique identifier of the role.
Body Required
-
An array of application IDs to be assigned.
Minimum length of each is
1
.
POST
/api/roles/{id}/applications
curl \
--request POST https://[tenant_id].logto.app/api/roles/{id}/applications \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"applicationIds":["string"]}'
Request examples
{
"applicationIds": [
"string"
]
}