# Delete (soft) an avatar

URL: https://www.atmee.ai/docs/v2/api/reference/avatars/deleteAvatar

`DELETE /v1/avatars/{avatarId}`

Soft-deletes the avatar: it disappears from the API at once and its
unfinished captures are cancelled. After the retention period every
file of the avatar -- every version's portrait, voice sample and
takes included -- is removed permanently.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `avatarId` | path | yes |  |

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `204` | Deleted. | none |
| `401` | Missing or invalid API key -- or a user token that is invalid, anonymous, or of a user who may act for no account (invalid_login) | none |
| `403` | insufficient_scope \| avatar_not_allowed \| account_not_allowed (a user token whose X-Account-Id names an account the user may not act for) | none |
| `404` | avatar_not_found | none |
| `409` | account_ambiguous -- a user token of a user who may act for several accounts, without an `X-Account-Id` header naming one. | `ApiErrorResponse` |
