Customer API
Delete Customer
DELETE
/
api
/
delete_customer
/
Authorization
Body
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
}
This endpoint deletes an existing Customer. If the entity has any descendant customers, they will also be deleted.
Body
current_token
string
requiredThis 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
}