PATCH
/
2022-06-09
/
subscriptions
/
{subscriptionLocator}
/
cancel
curl --request PATCH \
  --url https://staging.crossmint.com/api/2022-06-09/subscriptions/{subscriptionLocator}/cancel \
  --header 'X-API-KEY: <api-key>'
{}

Authorizations

X-API-KEY
string
header
required

Obtained in the Crossmint developer console

Path Parameters

subscriptionLocator
string
required

The unique identifier for the subscription, formatted as chain:contractAddress:tokenId. This locator references the specific token associated with the subscription.

Response

200
application/json
Subscription successfully cancelled.

The response is of type object.