Skip to content
TimescaleDB Enterprise
Esc
↑↓navigate↵open⌘Jpreview

Remove a relay from a relay zone

Removes HAProxy and keepalived from the relay, and makes the server free. The other relays do not change. When the relay holds the address of the zone, the address moves to another relay once, and the connections through it start again. A completed removal gives the zone a new enroll key: the enroll routes answer 410 for each enroll command of the zone from before, and the zone needs a redeploy. Rejected with 409 for the last relay of a zone that servers reach the console through.

DELETE/api/v1/relay-zones/{id}/relays/{server_id}
Authorization
tse_sessionAPI key · cookierequired
Path parameters
idstringrequired
server_idstringrequired
Responses
202

Accepted

workflow_idstringrequired
default

Error

codestring

Stable code of the refusal, when the route has codes

detailsstring[]

Additional detail, e.g. per-field validation failures

errorstringrequired

Human-readable error message

Request
curl -X DELETE 'https://console.example.com/api/v1/relay-zones/string/relays/string' \
  -H 'Cookie: tse_session=YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
{
  "workflow_id": "string"
}