Delete
Delete a user permanently.
Endpoint
DELETE /users/{id}
Response
Status 204 No Content
(empty response body)
Error Handling
The API uses standard HTTP status codes.
| Status Code | Description |
|---|---|
| 400 | Bad Request |
| 401 | Unauthorized |
| 404 | Not Found |
| 500 | Internal Server Error |
Error Response Example
{
"error": "User not found"
}