/v1/me/avatarAuthClear the caller's avatar and delete the stored object.
Response · 204
Avatar removed (or already absent).
Example
Request
DELETE https://api.platform-auth.productcraft.co/v1/me/avatar
Authorization: Bearer YOUR_TOKENimport { PlatformAuth } from "@productcraft/platform-auth";
// Reads PRODUCTCRAFT_API_KEY from the environment; administration
// calls take a person's session: { auth: { type: "bearer", token } }
const platform = new PlatformAuth();
await platform.me.avatar.clear();platform.me.avatar.clear(options?): void