---
title: "DELETE /vault/oauth/accounts/{accountId}"
method: DELETE
path: "/vault/oauth/accounts/{accountId}"
---

# DELETE /vault/oauth/accounts/{accountId}

`DELETE /vault/oauth/accounts/{accountId}`

## Request

- Base URL: `https://api.useanima.sh/v1`
- URL: `https://api.useanima.sh/v1/vault/oauth/accounts/{accountId}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Path parameters

- `accountId` string, required: Connected account ID to disconnect

## Request body

- object: Input for disconnecting an OAuth account
  - `agentId` union: Agent identifier. Optional when using an agent API key (resolved automatically); required when using a master key.
    - string
    - string

## Response `200`

OK

- object
  - `success` unknown, required

---

[API](https://skmtc.dev/useanima/apis/anima-api.md) · [All operations](https://skmtc.dev/useanima/apis/anima-api/llms.txt) · [OpenAPI document](https://skmtc.dev/useanima/apis/anima-api/revisions/aaa148188980?raw)
