Update roles for a user in an organization
Update roles assigned to a user in the specified organization with the provided data.
PUT
/api/organizations/{id}/users/{userId}/roles
curl \
--request PUT 'https://[tenant_id].logto.app/api/organizations/{id}/users/{userId}/roles' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"organizationRoleIds":["string"]}'
Request examples
{
"organizationRoleIds": [
"string"
]
}