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 \
-X POST https://[tenant_id].logto.app/api/organizations/{id}/applications/{applicationId}/roles \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"organizationRoleIds":["string"]}'
Request examples
{
"organizationRoleIds": [
"string"
]
}