Skip to main content

deleteAccount

Deletes the signed-in account holder's account after confirming delete: "delete" and the viewer ID from me.guestId. Cancels subscriptions, removes sites and invitations, and queues a confirmation email naming a final deletion date 28 days later. Only the account holder can delete, and only while the plan is free or the subscription is cancelling, cancelled, or expired; cancelSubscription keeps the account. Requires account delete access.

deleteAccount(
delete: String!
userId: Int!
): Boolean

Arguments​

deleteAccount.delete ● String! non-null scalar​

Exact confirmation string delete.

deleteAccount.userId ● Int! non-null scalar​

Signed-in viewer ID from me.guestId; it must match the current viewer.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.