Delete API resource scope

DELETE /api/resources/{resourceId}/scopes/{scopeId}

Delete an API resource scope (permission) from the given resource.

Path parameters

  • resourceId string Required

    The unique identifier of the resource.

  • scopeId string Required

    The unique identifier of the scope.

Responses

  • 204

    The scope was deleted successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

DELETE /api/resources/{resourceId}/scopes/{scopeId}
curl \
 --request DELETE 'https://[tenant_id].logto.app/api/resources/{resourceId}/scopes/{scopeId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"