Unlink scope from role

DELETE /api/roles/{id}/scopes/{scopeId}

Unlink an API resource scope (permission) from a role with the given ID.

Path parameters

  • id string Required

    The unique identifier of the role.

  • scopeId string Required

    The unique identifier of the scope.

Responses

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