accountDelete Mutation
Remove user account.
Triggers the following webhook events:
- ACCOUNT_DELETED (async): Account was deleted.
Applied directives
@webhookEventsInfo(asyncEvents: [ACCOUNT_DELETED], syncEvents: [])
accountDelete(token: String!): AccountDelete
Returns
Show return type
type AccountDelete {
accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [AccountError!]!
user: User
}Arguments
token
token · String!
A one-time token required to remove account. Sent by email using AccountRequestDeletion mutation.
Schema: Saleor 3.23.43. Download SDL.