Skip to main content
DELETE
/
vault
/
oauth
/
accounts
/
{accountId}
cURL
curl --request DELETE \
  --url https://api.useanima.sh/v1/vault/oauth/accounts/{accountId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agentId": "<string>"
}
'
{
  "success": "<unknown>"
}

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Path Parameters

accountId
string
required

Connected account ID to disconnect

Body

application/json

Input for disconnecting an OAuth account

agentId

Agent identifier. Optional when using an agent API key (resolved automatically); required when using a master key.

Pattern: ^[0-9a-z]+$

Response

200 - application/json

OK

success
any
required