Remove user consent scope from application.

DELETE /api/applications/{applicationId}/user-consent-scopes/{scopeType}/{scopeId}

Remove the user consent scope from an application by application id, scope type and scope id

Path parameters

  • applicationId string Required

    The unique identifier of the application.

  • scopeType string Required

    Values are organization-scopes, resource-scopes, organization-resource-scopes, or user-scopes.

  • scopeId string Required

    The unique identifier of the scope.

Responses

  • The user consent scope is removed from the application successfully

  • Bad Request

  • Unauthorized

  • Forbidden

  • The application or scope is not found

DELETE /api/applications/{applicationId}/user-consent-scopes/{scopeType}/{scopeId}
curl \
 -X DELETE https://[tenant_id].logto.app/api/applications/{applicationId}/user-consent-scopes/{scopeType}/{scopeId} \
 -H "Authorization: Bearer $ACCESS_TOKEN"