# Delete a user avatar

`DELETE https://api.cademi.com.br/api/v3/users/{user_id}/avatar`

Operation ID: `users.avatar.delete` · API v3

Removes the user's avatar. The operation is idempotent: removing an avatar that is not set also succeeds.

Required permissions: `users.update`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `user_id` | path | string | yes |  |

## Responses

### 204

The avatar was removed.

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The user was not found or is not accessible with the current credentials.

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
