Soft-delete a subscription
DELETE/subscriptions/:code
Marks the subscription as deleted so it no longer appears in normal listings. Does not change the active/canceled state; to cancel a subscription use POST /subscriptions/{code}/cancel.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 429
- 500
Subscription soft-deleted successfully
Bad request - invalid subscription code
Unauthorized - no authenticated user
Forbidden - no access to this subscription
Subscription not found
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal server error