Erase my data (RGPD Art. 17; step-up password; irreversible)
POST
/store/v1/customers/me/rgpd/erase
const url = 'https://your-store.example.com/store/v1/customers/me/rgpd/erase';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"password":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://your-store.example.com/store/v1/customers/me/rgpd/erase \ --header 'Content-Type: application/json' \ --data '{ "password": "example" }'Request Body required
Section titled “Request Body required ” Media type application/json
object
password
required
string
Example generated
{ "password": "example"}