Skip to main content
DELETE
https://api.app.shinzo.ai
/
v1
/
agent
/
{id}
/
discord
/
unlink
Unlink Discord
curl --request DELETE \
  --url https://api.app.shinzo.ai/v1/agent/{id}/discord/unlink \
  --header 'Authorization: Bearer <token>'

Authentication

Requires JWT token or Platform API key via Authorization: Bearer <token> header.
id
string
required
Agent UUID

Example Request

curl -X DELETE https://api.app.shinzo.ai/v1/agent/a1b2c3d4-e5f6-7890-abcd-ef1234567890/discord/unlink \
  -H "Authorization: Bearer <token>"

Example Response

{
  "message": "Discord account unlinked successfully"
}
After unlinking, the Discord user will no longer be able to send messages to the agent through Discord DMs. You can re-link at any time by generating a new link code.

Status Codes

CodeDescription
200Discord account unlinked successfully
401Unauthorized - invalid or missing authentication
404Agent not found or no Discord binding exists