---
updatedAt: 2025-06-11T20:15:56.000Z
agentTools:
  projectIndex: https://developers.triathlon.org/llms.txt
---

# Delete Subscription

The **Delete Subscription** method allows an athlete to be deleted and the id of the deleted athlete is returned. Authorization to remove the resource is checked and a 401 response will be returned for those attempting to delete resources without valid authorization.

You may also delete subscriptions through the [apps.api.triathlon.org](https://apps.api.triathlon.org/) management portal.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "triathlon-api-v1",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.triathlon.org/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "apikey",
        "x-default": "2649776ef9ece4c391003b521cbfce7a"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/subscriptions/": {
      "delete": {
        "summary": "Delete Subscription",
        "description": "",
        "operationId": "delete-subscription",
        "parameters": [
          {
            "name": "subscription_id",
            "in": "path",
            "description": "The subscription_id of the subscription to be deleted",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  code: 200\n  status: \"success\"\n  data: null,\n  message: \"Subscription 123456 deleted\"\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```