deleteAvatar
DESTRUCTIVE: permanently deletes the avatar and returns a copy of the now-deleted row. OWNER-EXCLUSIVE: only the owner may delete (throws Unauthorized otherwise). Requires a valid game token.
deleteAvatar(
id: BigInt!
idempotencyKey: String
): Avatar!
Arguments
deleteAvatar.id ● BigInt! non-null scalar
Avatar id to delete (BigInt as a decimal string).
deleteAvatar.idempotencyKey ● String scalar
Optional idempotency key. Recommended for retries: replaying with the same key and identical arguments returns the first result instead of re-applying; the same key with different arguments returns IDEMPOTENCY_CONFLICT. Keys expire after 24h.