Skip to main content
POST
/
subscriptions
/
{id}
/
cancel
cURL
curl --request POST \
  --url https://development.knotapi.com/subscriptions/{id}/cancel \
  --header 'Authorization: Basic <encoded-value>'
{
  "message": "Success"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password. Use your client_id as the username and your secret as the password value.

Path Parameters

id
string
required

The subscription ID from the subscription object.

Example:

"ka8sdf0asdfm10as0a0sdfja7ssa8"

Response

Cancellation request accepted.

message
string
Example:

"Success"