Skip to content
API reference/Stations

Remove a station

Remove an owned secondary station. The main station cannot be removed; historical sponsor/audio records remain.

DELETE/api/v1/stations/{stationId}

Authentication

Send your workspace key as xi-api-key or Authorization: Bearer.

stations:writedestructive

Parameters

Named placeholders belong in the path. Other arguments use query parameters.

stationIdRequired
integerRange: any to 2147483647

Response

JSON response with status 200.

Requests and errors →
Illustrative arguments
{
  "stationId": 1
}
Input schema
{
  "type": "object",
  "properties": {
    "stationId": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 2147483647
    }
  },
  "required": [
    "stationId"
  ],
  "additionalProperties": false
}
Response schema
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "ok"
  ],
  "additionalProperties": false
}