Skip to content
This is a core action. All server implementations MUST support it.

Delete a subscription

Enables clients to remove a subscription for the authenticated user by guid.

DELETE /v1/subscriptions/{guid}

Clients MUST send a DELETE request to the canonical URI of a subscription resource.

ParameterTypeDescription
guidstringThe globally unique identifier (UUIDv5) of the subscription resource.

Clients MUST include the following header:

  • Accept: application/vnd.api+json
DELETE /v1/subscriptions/ce510f4d-9046-5590-846e-58619ab8b353 HTTP/1.1
Accept: application/vnd.api+json
  • The server MUST remove the subscription for the authenticated user.
  • The deletion MUST NOT affect other users subscribed to the same feed.
  • The server MUST return a 204 No Content if the subscription was deleted.
  • If no subscription exists for the user, the server MUST return 404 Not Found.
  • If the guid is not a valid UUID, the server MUST return 400 Bad Request.

If the subscription is successfully deleted:

  • HTTP Status: 204 No Content
  • The response MUST NOT include a body.
HTTP/1.1 204 No Content
HTTP statusWhen it occurs
400 Bad RequestIf the provided guid is not a valid UUID.
404 Not FoundIf the subscription does not exist or is inaccessible.

See error response format for more information.