Skip to content
Dashboard
Theme
Theme

Disconnect and revoke a Pipes connection

DELETE /v1/pipes/connections/{connection}: Disconnect and revoke a Pipes connection.

View Markdown

DELETE /v1/pipes/connections/{connection}

Revokes the token at the provider when it has a revocation endpoint (best effort), deletes the stored tokens and leaves the connection disconnected.

Scope
pipes:write
Auth
Secret key (sk_…)
Since
1.1
  • connection string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X DELETE \
"https://api.ohauthcat.com/v1/pipes/connections/pipe_01J9Z3K5V7W8X9Y0Z1A2B3C4D5" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "pipe_connection",
"id": "pipe_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"provider": "okta",
"organization_id": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"user_id": "user_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"state": "pending",
"scopes": [
"organizations:read"
],
"last_error": "saml_signature_invalid",
"connected_at": "2026-01-15T09:30:00Z",
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z"
}