Skip to content

Delete a Subscription

Request

Deletes Subscription record.
Records are soft-deleted which means that such deleted record can still be viewed and potentially restored.
If deleted Subscription is the last active subscription for Subscriber, Subscriber record is also deleted.

Security
ApiKeyAuth
Path
subdomainstringrequired

Unique subdomain of requested Hub.

subscriber_idintegerrequired

id of the subscriber

subscription_idintegerrequired

id of the subscription to be deleted

Query
api_versionstring

Api version

Value:"V3-R1"
curl -i -X DELETE \
  'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/subscribers/{subscriber_id}/subscriptions/{subscription_id}?api_version=V3-R1' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
messagestring
Response

Operation was successful.

{ "message": "OK" }