Add organization application role
Add a role to the application in the organization.
Path parameters
-
The unique identifier of the organization.
-
The unique identifier of the application.
Body Required
-
The role ID to add.
Minimum length of each is
1
.
POST
/api/organizations/{id}/applications/{applicationId}/roles
curl \
--request POST https://[tenant_id].logto.app/api/organizations/{id}/applications/{applicationId}/roles \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"organizationRoleIds":["string"]}'
Request examples
{
"organizationRoleIds": [
"string"
]
}