accountRequestDeletion Mutation
Sends an email with the account removal link for the logged-in user.
Triggers the following webhook events:
- NOTIFY_USER (async): A notification for account delete request.
- ACCOUNT_DELETE_REQUESTED (async): An account delete requested.
Applied directives
@webhookEventsInfo(asyncEvents: [NOTIFY_USER, ACCOUNT_DELETE_REQUESTED], syncEvents: [])
accountRequestDeletion(channel: String, redirectUrl: String!): AccountRequestDeletion
Returns
Show return type
type AccountRequestDeletion {
accountErrors: [AccountError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [AccountError!]!
}Arguments
channel
channel · String
Slug of a channel which will be used to notify users. Optional when only one channel exists.
redirectUrl
redirectUrl · String!
URL of a view where users should be redirected to delete their account. URL in RFC 1808 format.
Schema: Saleor 3.23.43. Download SDL.