Skip to main content

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​

StatusCodeDescription
401unauthorizedMissing or invalid authentication token
404no_avatarThe user does not have a custom avatar