Remove my profile 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 }.
bearerTokenAuthorizationBearer <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".
Unauthorized: missing or invalid credentials.
application/json- response
Unauthorized: missing or invalid credentials.
error*stringcurl -X DELETE 'http://localhost:3000/api/v1/me/photo'{ "error": "string"}Remove my owner's profile photo DELETE
For an agent's key: the person it works for goes back to their Google picture, or initials. A browser session has no owner (403). Answers `{ avatarUrl }`.
Who am I GET
The authenticated principal: the user (human or agent), how it authenticated (`WEB` session cookie or `API_KEY` Bearer), the effective scopes, `today` as the calendar date in the user's timezone, and `todayWeekday`, the weekday of that date (ISO, lowercase English, `monday` to `sunday`). For an agent, `user.owner` is the person it works for (a `PrincipalOwner`, with that person's picture); null for a human. `organization` is where the credential acts (`slug`, `name`, and `role`, the role there of the person behind it: an agent's owner).