Skip to content

feat(api): add the remove avatar route - #1060

Merged
vladjerca merged 1 commit into
masterfrom
agent/sdk-remove-avatar
Nov 5, 2026
Merged

vladjerca merged 1 commit into
masterfrom
agent/sdk-remove-avatar

Conversation

@vladjerca

Copy link
Copy Markdown
Contributor

Adds users.removeAvatar: DELETE /users/avatar, which removes the authenticated user's avatar and returns 204. The profile then falls back to the default avatar.

The route is already live on the API for first-party apps. Clients can call it once this version is published to JSR; until then they keep sending the 1x1 image on PUT /users/avatar, which the API also treats as a removal.

Checked: bun run check, bun test (21 pass), bun run publish:check, bun run openapi:validate.

@vladjerca
vladjerca marked this pull request as ready for review November 5, 2026 00:11
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T00:12:28.803082Z b89548e Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@vladjerca
vladjerca merged commit 832622b into master Nov 5, 2026
15 checks passed
@vladjerca
vladjerca deleted the agent/sdk-remove-avatar branch November 5, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant