Skip to main content
POST
/
me
/
subscriptions
/
{sub_id}
/
cancel
Cancel subscription (at-period-end by default)
curl --request POST \
  --url https://api.member.dev/me/subscriptions/{sub_id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "errors": [
    {
      "status": "<string>",
      "title": "<string>",
      "code": "<string>",
      "detail": "<string>",
      "id": "<string>",
      "meta": {},
      "source": {}
    }
  ],
  "meta": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sub_id
string
required

Response

Successful Response