DELETE /api/v1/users/me/avatar
Deletes the avatar image for the currently authenticated user. After deletion, the user's avatar_url will be reset to the default.
Authentication​
Required. Bearer token must be included in the Authorization header.
Request​
No request body required.
Example​
curl -X DELETE https://intotes.com/api/v1/users/me/avatar \
-H "Authorization: Bearer <token>"
Response​
200 OK​
{}
Errors​
| Status | Code | Description |
|---|---|---|
| 401 | unauthorized | Missing or invalid authentication token |
| 404 | no_avatar | The user does not have a custom avatar |