Customer API
Delete Customer
Customer API
Delete Customer
DELETE
/api/delete_customer/
Explo-Authorization*
curl --request DELETE \
--url https://api.explo.co/api/delete_customer/ \
--header 'Explo-Authorization: <explo-authorization>' \
--data '{
"current_token": "<current_token>"
}'
This endpoint deletes an existing Customer. If the entity has any descendant customers, they will also be deleted.
Body
current_tokenrequired
string
This is the current Customer token you have for the Customer you want to delete
Response
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request DELETE 'https://api.explo.co/api/delete_customer/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
"current_token": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}'
{
"success": 1
}
curl --location --request DELETE 'https://api.explo.co/api/delete_customer/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
"current_token": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}'
{
"success": 1
}