Auth API reference

Auth API · Consumer-Me

delete/{app_slug}/v1/me/avatarAuth

Remove 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*string

Slug 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_TOKEN