Skip to main content
DELETE
Delete a Connection
Deletes a connection you previously created. The connection moves to DELETED status and stops being available to routing. Returns 204 No Content on success.
A connection that is still referenced by an active routing rule cannot be deleted — the request fails with 409 CONNECTION_IN_USE. Detach it from your routes first, then retry.

Path Parameters

string
required
The id returned by Create a Connection. Must belong to the account your API key is scoped to.

Headers

string
required
UUID of the account the connection belongs to.

Response

Returns 204 No Content with an empty body.

Errors

Authorizations

PUBLIC-API-KEY
string
header
default:<Your PUBLIC-API-KEY>
required
PRIVATE-SECRET-KEY
string
header
default:<Your PRIVATE-SECRET-KEY>
required

Headers

X-Account-Code
string<uuid>
required

Path Parameters

connection_id
string<uuid>
required

Response

No Content