Cancel subscription
Cancels the subscription. Will result in a scheduling conflict if there are other subscriptions scheduled to start after the cancelation time.
Path parameters
ULID (Universally Unique Lexicographically Sortable Identifier).
Request body
Example request
{
"timing": "2023-01-01T01:01:01.001Z"
}Response
Subscription updated response.
Example response
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"labels": {
"env": "test"
},
"created_at": "2023-01-01T01:01:01.001Z",
"updated_at": "2023-01-01T01:01:01.001Z",
"deleted_at": "2023-01-01T01:01:01.001Z",
"customer_id": "01G65Z755AFWAKHE12NY0CQ9FH",
"plan_id": "01G65Z755AFWAKHE12NY0CQ9FH",
"billing_anchor": "2023-01-01T01:01:01.001Z"
}Changes
Changed in 3 of the 75 revisions of this API.4
- ○
added the optional property
settlement_modeto the response with the200statusresponse-optional-property-added
This revision also has 23 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the response property
created_atbecame required for the status200response-property-became-required
- ○
the response property
updated_atbecame required for the status200response-property-became-required
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○