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

  • 204

    The API resource scope was unlinked from the role.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

DELETE /api/roles/{id}/scopes/{scopeId}
curl \
 -X DELETE https://[tenant_id].logto.app/api/roles/{id}/scopes/{scopeId}