---
updatedAt: 2026-06-01T00:23:18.000Z
agentTools:
  projectIndex: https://devx.pax8.com/llms.txt
---

# Cancel Subscription

Cancels the Subscription specified by subscriptionId

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "PARTNER ENDPOINTS",
    "version": "1.0.0",
    "termsOfService": "https://www.pax8nebula.com/m/7880292de03cfb3e/original/Pax8-APIs-Terms-of-Service.pdf"
  },
  "servers": [
    {
      "url": "https://api.pax8.com/v1"
    }
  ],
  "tags": [
    {
      "name": "Subscriptions",
      "description": "Subscriptions describe terms of service, including price and the billing start/end dates for a specified product/company combination. Resources let you update, cancel, and fetch details of existing subscriptions"
    }
  ],
  "security": [
    {
      "OAuth2": []
    }
  ],
  "paths": {
    "/subscriptions/{subscriptionId}": {
      "delete": {
        "tags": [
          "Subscriptions"
        ],
        "summary": "Cancel Subscription",
        "description": "Cancels the Subscription specified by subscriptionId",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "subscription to be updated",
            "required": true,
            "schema": {
              "type": "string",
              "example": "04814f37-bef0-48b7-b388-c04a1e31f889"
            }
          },
          {
            "name": "cancelDate",
            "in": "query",
            "description": "The date to cancel the subscription on",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "example": "2000-10-31T01:30:00.000-05:00"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful operation",
            "content": {}
          },
          "404": {
            "description": "Subscription not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://token-manager.pax8.com/oauth/token",
            "scopes": {}
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Type of HTTP error"
          },
          "message": {
            "type": "string",
            "description": "Error message"
          },
          "instance": {
            "type": "string",
            "description": "The path called"
          },
          "status": {
            "type": "integer",
            "description": "HTTP error code"
          },
          "details": {
            "type": "array",
            "description": "Additional API failures",
            "items": {
              "$ref": "#/components/schemas/ErrorDetail"
            }
          }
        }
      },
      "ErrorDetail": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "optional"
          },
          "message": {
            "type": "string",
            "description": "required"
          },
          "instance": {
            "type": "string",
            "description": "optional"
          },
          "status": {
            "type": "integer",
            "description": "optional"
          }
        }
      }
    }
  }
}
```