Gamma API

Remove my picture

DELETE
/api/account/avatar

Clears it and deletes the uploaded file.

Who may call it: Any signed-in user, for their own account. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Response Body

OK.

application/json
  1. response
url*|

The picture's public URL, to render as is; null once removed.

Example Request
curl -X DELETE 'http://localhost:3000/api/account/avatar'
Example Response
{  "url": "string"}