Cancel a Subscription (deprecated) Deprecated

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/zim/doc/esim-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "eSIM API MCP server": {
    "url": "https://bump.sh/zim/doc/esim-api/mcp"
  }
}

Close
DELETE /subscriptions/{subscriptionID}

Deprecated — use POST /subscriptions/{subscriptionID}/cancel. Same behaviour, answers 200.

Path parameters

  • subscriptionID string Required

    ID of the Subscription

Responses

  • 200 application/json

    Cancellation requested

    Hide headers attributes Show headers attributes
    • Deprecation

      Set on deprecated endpoints

    • Sunset

      Date after which the deprecated endpoint may be removed

    Hide response attribute Show response attribute object
    • message string
  • 404 application/json

    Resource not found or not owned by your Account

    Hide response attributes Show response attributes object
  • 409 application/json

    The resource is in a state that does not allow the operation

    Hide response attributes Show response attributes object
DELETE /subscriptions/{subscriptionID}
curl \
 --request DELETE 'https://zim.api.dev.zimconnections.com/subscriptions/subs_BiPtvfzYKwcyNMNvTGmLO' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-App-Identifier: $API_KEY"
Response examples (200)
# Headers
Deprecation: true
Sunset: Thu, 31 Dec 2026 23:59:59 GMT
Link: </v2/orders>; rel="successor-version"

# Payload
{
  "message": "Plan cancellation requested"
}
Response examples (404)
{
  "statusCode": 404,
  "message": "Record not found",
  "error": "Not Found"
}
Response examples (409)
{
  "statusCode": 409,
  "message": "subscription_not_cancellable",
  "error": "Conflict"
}