Users
Delete avatar
Remove the authenticated user's profile picture.
DELETE /users/me/avatar
Removes the user's profile picture and returns the updated profile (with avatarUrl reset to null).
Authentication: Bearer token · Permission:
account:delete · Rate limit: default (120 / 60s)Request
curl -X DELETE https://api.twominutereports.com/v1/users/me/avatar \
-H "Authorization: Bearer tmrc_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Response
{
"success": true,
"data": {
"id": "0190f8a1-2b3c-7d4e-8f90-1a2b3c4d5e6f",
"name": "Ada Lovelace",
"email": "[email protected]",
"avatarUrl": null,
"preferences": {
"appearance": "light",
"notifications": {
"email": { "billing": true, "productUpdates": true, "promotional": false }
}
},
"createdAt": "2026-01-12T08:15:00.000Z"
}
}
{
"success": false,
"error": { "code": "UNAUTHORIZED", "message": "Authentication required" }
}