/{app_slug}/v1/me/avatarAuthRemove the EndUser avatar
Clears both the uploaded avatar and any provider-captured picture, and deletes the stored object. A later Google/GitHub sign-in re-populates the provider picture — that is "sync from provider" behavior, by design.
Path parameters
app_slug*stringSlug of the app.
Response · 204
Avatar removed (or already absent).
Example
Request
DELETE https://api.auth.productcraft.co/{app_slug}/v1/me/avatar
Authorization: Bearer YOUR_TOKENimport { Auth } from "@productcraft/auth";
// Admin routes read PRODUCTCRAFT_API_KEY; consumer routes need no key
const auth = new Auth();
await auth.consumer("my-app").me.deleteAvatar();auth.consumer(…).me.deleteAvatar(options?): void