Stations

Delete a station

DELETE/stations/{station}

Deletes a station. The path names the station by its id, or by its code with by=code. While capabilities run on the station, the delete is refused with 409 entity-in-use. With force=true, the station is deleted anyway and leaves the processing profiles of those capabilities; the capabilities stay.

Request Headers

Bearer <token>

Path Parameters

station*string

The station's id, or its code when by=code.

Query Parameters

by?string

Which key the path holds: id, the default, or code.

Default"id"

Value in

  • "id"
  • "code"
force?boolean

true deletes the station even while capabilities run on it; they lose it from their processing profiles.

Response Headers

204, 400, 401, 403, 404, 429, default

204, 400, 401, 403, 404, 429, default

204, 400, 403, 404, 429, default

204, 400, 403, 404, 429, default

429

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/stations/string" \  -H "Authorization: Bearer ff_shop_…"
Empty