SynqDocs
Management APIConnected apps

Disconnect an app from your Synq account

Withdraws what the calling person allowed the app: its grants for them end with every refresh token they gave, so its next refresh is refused and it asks them to sign in and allow it again. Access tokens it already holds work until they expire, 10 minutes at most for Synq's MCP server. What it already changed stays changed. A person's credential only. Recorded as `user.consent_revoked` (`metadata.by`: `connected_apps`).

DELETE/v1/connected-apps/{connection}

Withdraws what the calling person allowed the app: its grants for them end with every refresh token they gave, so its next refresh is refused and it asks them to sign in and allow it again. Access tokens it already holds work until they expire, 10 minutes at most for Synq's MCP server. What it already changed stays changed. A person's credential only. Recorded as user.consent_revoked (metadata.by: connected_apps).

Authorization

bearer
AuthorizationBearer <token>

An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.

In: header

Path Parameters

connection*string

The connection's id, from the list

Match^cns_[0-9a-hjkmnp-tv-z]{26}$

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://api.synq.build/v1/connected-apps/cns_01h455vb4pex5vsknk084sn02q" \  -H "Authorization: Bearer $SYNQ_API_KEY"
Empty