Skip to main content

accountRequestDeletion Mutation

Sends an email with the account removal link for the logged-in user.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • NOTIFY_USER (async): A notification for account delete request.
  • ACCOUNT_DELETE_REQUESTED (async): An account delete requested.
accountRequestDeletion(
channel: String
redirectUrl: String!
): AccountRequestDeletion

Arguments

accountRequestDeletion.channel ● String scalar miscellaneous

Slug of a channel which will be used to notify users. Optional when only one channel exists.

accountRequestDeletion.redirectUrl ● String! non-null scalar miscellaneous

URL of a view where users should be redirected to delete their account. URL in RFC 1808 format.

Type

AccountRequestDeletion object users

Sends an email with the account removal link for the logged-in user.

Requires AUTHENTICATED_USERpermission.

Triggers the following webhook events:

  • NOTIFY_USER (async): A notification for account delete request.
  • ACCOUNT_DELETE_REQUESTED (async): An account delete requested.