---
title: "Delete a Duo Account"
method: DELETE
path: "/duo/accounts/{id}"
tags: ["Duo"]
---

# Delete a Duo Account

`DELETE /duo/accounts/{id}`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/duo/accounts/{id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/duo/accounts/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes the specified Duo account, an error will be returned if the account has some Duo application used in a protected resource.

#### Sample Request
```
curl -X DELETE https://console.jumpcloud.com/api/v2/duo/accounts/{id} \
  -H 'accept: application/json' \
  -H 'content-type: application/json' \
  -H 'x-api-key: {API_KEY}'
```

## Headers

- `x-org-id` string

## Response `200`

- DuoAccount
  - `id` string, required: object ID
  - `name` string: Duo application name.
  - `readOnly` boolean: When true, the credential is governed by the primary organization and cannot be modified.

## Other responses

- `400`: Bad Request
- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error

---

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