Skip to content
Dashboard
Theme
Theme

Delete a connection

DELETE /v1/connections/{conn}: Delete a connection.

View Markdown

DELETE /v1/connections/{conn}

Scope
connections:write
Auth
Secret key (sk_…)
Since
1.0
  • conn string Required

  • confirm string Required

    Must equal the connection ID.

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

  • Idempotency-Key string

    Honoured for 24 h; a replay returns the original response.

    min length 1 · max length 255

Errors share one shape; see the error code catalogue.

curl -X DELETE \
"https://api.ohauthcat.com/v1/connections/conn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5?confirm=conn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"id": "01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"deleted": true
}