Delete a station
/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
Path Parameters
The station's id, or its code when by=code.
Query Parameters
Which key the path holds: id, the default, or code.
"id"Value in
- "id"
- "code"
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
The channel that served the request: unstable.
Value in
- "unstable"
204, 400, 401, 403, 404, 429, default
The id the server gave the request. A problem carries the same id as request_id. Quote it when you contact support.
uuid204, 400, 403, 404, 429, default
The shop's rate-limit policy, as draft-ietf-httpapi-ratelimit-headers defines it: its name, the requests it allows (q), and its window in seconds (w). Every shop has the policy "standard";q=120;w=60: 120 requests per 60 seconds, counted over all the shop's tokens. Sent with every response to a request that carries a valid token, and with a 429. The server leaves it out when it cannot read the shop's budget.
204, 400, 403, 404, 429, default
The shop's budget in the current window: the requests left (r), and the seconds until the window resets (t), as in "standard";r=117;t=42. Sent with RateLimit-Policy.
429
The number of seconds to wait until the shop's budget resets.
1 <= valueResponse 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_…"Change a station PATCH
Changes the fields that the body carries, keeps the others, and returns the station. The path names the station by its id, or by its code with `by=code`. A `code` in the body is the station's new code.
List the material kinds GET
Returns every material kind of the shop on one page: `next_cursor` and `previous_cursor` are always `null`.