Remove a connection left over from a Vault flow that was cancelled or failed before activation. Only an inactive or connection_error Apideck connection that holds no data is removed, permanently: no archived row, note or audit entry is kept. Returns 409 if the connection is active (for example the activate call succeeded but its response was lost) or already holds data; nothing is changed, so it is safe to call again after a failed or uncertain activate. Returns 404 if the connection does not exist, is not an Apideck-backed connection, is archived, or belongs to an organization your credential cannot access. A multi-org credential must send an Organization-Id, Connection-Id or Entity-Id selector, or gets a 400. To disconnect a working connection, use DELETE /connections/{connId}.
Release date, as YYYY-MM-DD. Defaults to 2026-07-21.
Target organization id (Organization-Id selector).
Target connection id; resolves to its organization.
Platform entity id; resolves to a connection's organization.
Optional source to disambiguate an Entity-Id.
The unique identifier of the connection.
Successful Response
The request was invalid.
Authentication failed or was missing.
The credential is not permitted for this request.
The requested resource was not found.
The request conflicts with existing state.
The request failed validation.