---
title: "Disconnect an account"
method: DELETE
path: "/api/v1/profiles/{profileId}/accounts/{accountId}"
tags: ["Accounts"]
---

# Disconnect an account

`DELETE /api/v1/profiles/{profileId}/accounts/{accountId}`

## Request

- Base URL: `https://app.tryadeli.com`
- URL: `https://app.tryadeli.com/api/v1/profiles/{profileId}/accounts/{accountId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/adeli/apis/adeli-api/docs/api/v1/profiles/:profileId/accounts/:accountId/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `profileId` string, uuid, required
- `accountId` string, uuid, required

## Response `200`

Success

- object
  - `id` string, required
  - `disconnected` true, required
  - `revocationFailed` boolean

## Other responses

- `400`: Invalid request or provider failure
- `401`: Missing or invalid API key
- `404`: Profile, account, or object not found
- `422`: The connected account cannot perform this operation
- `502`: Invalid request or provider failure

---

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