Skip to content

RGPD erase a customer (confirmEmail echo; irreversible; audited)

DELETE
/admin/v1/customers/{id}
curl --request DELETE \
--url https://your-store.example.com/admin/v1/customers/example \
--header 'Content-Type: application/json' \
--data '{ "confirmEmail": "hello@example.com" }'
id
required
string
Media type application/json
object
confirmEmail
required
string format: email
<= 320 characters /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/
Example generated
{
"confirmEmail": "hello@example.com"
}