0

Is there a way to delete a company and its user using only user authentication in Magento 2 B2B? For example, if a B2B user tries to delete their account, the associated company should also be deleted. Can this be achieved via a GraphQL mutation like this?

mutation {
   deleteCompanyByUser {
     success
     message
   }
}

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.