Removes the profile avatar of the currently authenticated user, reverting to the default avatar.
DELETE
/auth/user/me/avatar
curl \
--request DELETE 'http://localhost:8080/api/auth/user/me/avatar' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (401)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2025-05-04T09:42:00Z"
}
Response examples (500)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2025-05-04T09:42:00Z"
}