GuideLab API

Remove current user avatar

Remove the authenticated user's avatar from storage and clear the image reference on the user record.

DELETE
/user/avatar

Remove the authenticated user's avatar from storage and clear the image reference on the user record.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Response Body

application/json

curl -X DELETE "https://example.com/user/avatar"
{  "success": true}
Empty
Empty
Empty