POST
/
users
/
subscription
/
cancel
Cancel Subscription
curl --request POST \
  --url https://api.village.do/v1/users/subscription/cancel \
  --header 'secret-key: <api-key>' \
  --header 'user-identifier: <user-identifier>'
{
  "message": "User subscription cancelled successfully"
}

Authorizations

secret-key
string
header
required

API secret key (requires user-identifier header)

Headers

user-identifier
string
required

Specify the user making the request. This identifier should match the one you used when integrating the user with Village. Not needed when using user token authentication.

Response

200
application/json

Subscription cancelled successfully

The response is of type object.