-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Magento CLI 2.3.1 | API | customer delete #36921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @salehawal. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
@salehawal please share your full api data (with curl command if it's possible). Remember that your Access Token must have the permission to delete customer.
Please be careful when allowing customer to delete their account by themself. By default, customer is not able to delete their account with customer access token. You must create an Integration to generate Access Token. |
@mrkhoa99 what i want is to provide our mobile developer with api documentation for magento 2.3.1 to allow him to enable the user to delete his profile if he wish to do so, why because apple store rejected our latest push to store because this future must be added now i cant to know what is the correct way over api and if not supported because of old version can you recommend a alternative way or module to enable this api call to delete customer |
@salehawal I think you must create a new custom api for this case. |
That's what I hope to find a alternative way for 🙄 |
Hi @salehawal, Thanks for your reporting and collaboration. We have tried to reproduce the issue in Latest 2.4-develop instance and we are not able to reproduce the issue.Kindly refer the screenshots. ![]() ![]() We are able to delete the customer successfully.Hence we are closing this issue. Thanks. |
Description
how can i delete a user from api, i have magento 2.3.1?
Expected behavior
use "/pub/rest/default/V1/customers/{customerId}" api endpoint to delete user
Benefits
allow user to remove their account if they want
Additional information
i tried this end point : "/pub/rest/default/V1/customers/{customerId}" did not work?
Release note
No response
The text was updated successfully, but these errors were encountered: