Skip to main content
DELETE
Cancel a connection session
Revoke an unused linking session. Requires connections:write. Create a new session if the user needs to try again.

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code with PKCE. Implicit and password flows are unsupported.

Headers

Idempotency-Key
string
required

Required for mutating requests. Replays with the same key and payload hash return the original logical result; replays with a different payload hash return 409.

Required string length: 16 - 255

Path Parameters

session_id
string
required

Response

Session canceled or already terminal.

id
string
required
app_id
string
required
customer_id
string
required
status
enum<string>
required
Available options:
created,
authorized,
completed,
expired,
revoked
requested_purposes
enum<string>[]
required
Available options:
account_linking,
personalization,
analytics,
support,
event_enrichment,
profile_resolution,
measurement
expires_at
string<date-time>
required
created_at
string<date-time>
required
swapnice_user_id
string | null