Delete a customer
curl --request DELETE \
--url https://api.awardee.com/v1/customers/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.awardee.com/v1/customers/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.awardee.com/v1/customers/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"object": "customer",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deleted": true
}Endpoints
Delete a customer
GDPR-complete erasure: purges the customer, its identities, tags and notes; nulls their analytics events and re-anonymizes linked conversations.
DELETE
/
customers
/
{id}
Delete a customer
curl --request DELETE \
--url https://api.awardee.com/v1/customers/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.awardee.com/v1/customers/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.awardee.com/v1/customers/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"object": "customer",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deleted": true
}
