Skip to main content
POST
Disconnect an integration
Examples are synthetic; the documentation cannot submit requests.

Authorization

Authenticated Liftx Settings session; available after entitlement expiry.

Behavior

Disconnect an API, TradingView or MCP integration by its integration_id. All associated credentials lose access through that namespace, and its item disappears from Settings after confirmation. Existing positions, their protections and retained command evidence remain intact; disconnection does not submit a close command. Inspect metadata after an uncertain revocation result. Use this endpoint for the Disconnect action. To remove only an old replacement key while keeping the integration active, use credential revocation. This is a session-owned application contract, not an ordinary API-key endpoint. Use Settings → Integrations. The public API base URL does not grant session access.

JSON body example

The following shows the request shape, not live credentials or executable market defaults. Replace timestamps only when creating a new reviewed intent; never mutate them on a command retry.

Response and errors

The generated response schema below is the wire contract. Preserve fixed-point strings, nullable fields and endpoint-specific envelopes. Inspect HTTP status and Content-Type before decoding failures; reused trading routes may return JSON or plain text. Authentication, entitlement and exact link/instrument restrictions apply in addition to endpoint validation. See errors and recovery. Do not automatically repeat a mutation after transport ambiguity. Trading commands reuse the exact immutable identity; credential issuance and template writes require their documented metadata/read reconciliation. Read the related guide for lifecycle, units and recovery semantics.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
integration_id
string<uuid>
required

Response

Success

revoked
any
required