Skip to main content
DELETE
/
v1
/
customers
/
{Customer}
/
subscriptions
/
{Subscription}
Cancel Customer Subscription
curl --request DELETE \
  --url https://api.ecrypt.com/v1/customers/{Customer}/subscriptions/{Subscription} \
  --header 'x-api-key: <api-key>'
{
  "requestId": "000000000000000000000",
  "errors": [
    {
      "type": "<string>",
      "message": "<unknown>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Authorization by x-api-key inside request's header

Path Parameters

Customer
string
default:00000000-0000-0000-0000-000000000000
required

Customer is the Ecrypt customer identifier.

Example: 00000000-0000-0000-0000-000000000000

Required string length: 8 - 64
Pattern: ^[0-9A-Za-z-]*$
Subscription
string
default:00000000-0000-0000-0000-000000000000
required

Subscription is the Ecrypt Subscription identifier.

Example: 00000000-0000-0000-0000-000000000000

Required string length: 8 - 64
Pattern: ^[0-9A-Za-z-]*$

Response

OK