Log in
Model

DeleteCustomer

Magento\CustomerGraphQl\Model\Resolver\DeleteCustomer

What it does

This resolver handles GraphQL mutations for customer account deletion.

It verifies the customer is authenticated, temporarily enables the secure area registry flag to bypass certain validations, retrieves and deletes the customer account, then restores the previous secure area state.

Developers would use this class when implementing self-service account deletion functionality through GraphQL APIs.

Public Methods

  • resolve()