# Delete a student

`DELETE https://{domain}/api/v1/usuario/{usuario_email_id}`

Operation ID: `users.delete` · API v1

Deletes a student. The school can restore the student from the dashboard.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `usuario_email_id` | path | string | yes | The student, by ID, email or document (CPF). A value that is a valid email is looked up by email; otherwise the digits are matched against the ID and the document. |

## Responses

### 200

The student was deleted. There is no data.

Body: Success.

### 401

The Authorization header is missing, or the key does not exist or was deleted.

Body: HandlerError.

### 404

No route matches the path, for example a non-numeric ID where a number is expected.

Body: HandlerError.

### 409

msg is Usuário não encontrado.

Body: Error.

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