Account

Remove the signed-in user avatar

DELETE
/api/account/avatar

Authorization

sessionCookie
cookiebetter-auth.session_token<token>

The Better Auth email/password session cookie used by the web application.

Response Body

Avatar removed; the account has no profile image.

application/json
  1. response
success*true
Value intrue
Example Request
curl -X DELETE 'https://postbot.example/api/account/avatar'
Example Response
{
  "success": true
}

Was this page helpful?