Delete Customer

This page contains API Documentation to delete a customer.

Delete Customer

This API endpoint allows you to delete a customer's account based on their unique identifier.

Endpoint URL: https://api.v7.botpenguin.com/customer/{customer_id}

  • Replace {customer_id} with the unique identifier of the customer you want to delete.

HTTP Method: DELETE

Request Headers

  • Authorization: A bearer token is required for authentication. Replace [MASKED_TOKEN] with your valid API token. This token is used to authenticate and authorize the request.

Sample Request

curl 'https://api.v7.botpenguin.com/customer/{customer_id}' \
  -X 'DELETE' \
  -H 'Authorization: Bearer [MASKED_TOKEN]' \
  --compressed

Replace [MASKED_TOKEN] with your valid API token. Please note that sensitive data such as API tokens should be kept confidential.

Response

The API will respond with a JSON object indicating the success of the delete operation. Here is a sample response:

{"success":true,"message":"","code":200}

Please replace [MASKED_TOKEN] in the request with your actual API token and [MASKED_CUSTOMER_ID] in the URL with the actual unique identifier of the customer for actual usage.

If you have any questions, you can look into our repository of FAQs, most likely, you will find your answer here, If not, write us at contact@botpenguin.com

Last updated