Remove organization scope

DELETE /api/organization-roles/{id}/scopes/{organizationScopeId}

Remove a organization scope assignment from the specified organization role.

Path parameters

  • id string Required

    The unique identifier of the organization role.

  • organizationScopeId string Required

    The unique identifier of the organization scope.

Responses

  • Organization scope assignment was removed successfully.

  • Bad Request

  • Unauthorized

  • Forbidden

  • Unprocessable Content

DELETE /api/organization-roles/{id}/scopes/{organizationScopeId}
curl \
 -X DELETE https://[tenant_id].logto.app/api/organization-roles/{id}/scopes/{organizationScopeId} \
 -H "Authorization: Bearer $ACCESS_TOKEN"