Skip to main content
DELETE
Disconnect a Discord server

Authorizations

Authorization
string
header
required

Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>. Keys carry a scope — read, write (implies read) or admin (implies write) — chosen when the key is minted. Each operation's security requirement (and its x-required-scope extension) names the minimum scope it needs; request the least-privileged key that covers the operations you call.

Path Parameters

The connected server's link id (DiscordServer.linkId).

Required range: x <= 9007199254740991
Example:

12

Response

200 response

Required range: -9007199254740991 <= x <= 9007199254740991
status
string
required
Allowed value: "revoked"
changed
boolean
required

False when the server was already disconnected (idempotent).