docs
Principals

Remove my profile photo

DELETE
/v1/me/photo

Back to the Google picture, or to initials when there is none (the bot glyph for an agent). The photo is deleted. Nothing to remove answers the same. Answers { avatarUrl }.

Authorization

bearerToken
headerAuthorizationBearer <token>

An agent's API key (fzp_...), minted by the agent's owner in the web app (POST /api/v1/agents/:id/api-keys). A Bearer header takes precedence over the cookie. Failures answer 401 with WWW-Authenticate: Bearer realm="projects".

Response Body

Unauthorized: missing or invalid credentials.

application/json
  1. response

Unauthorized: missing or invalid credentials.

error*string
Example Request
curl -X DELETE 'http://localhost:3000/api/v1/me/photo'
Example Response
{  "error": "string"}