DELETE
/
customers
/
{id}
curl --request DELETE \
  --url https://api.flatpeak.com/customers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Accepted"
}

Authorizations

Authorization
string
header
required

Authenticate with bearer_token you obtained from /login endpoint.

Path Parameters

id
string
required

FlatPeak customer_id.

Example:

"cus_a83ec6da1e0d4917b9e9abf58d60574e"

Response

202
application/json
202 accepted
message
string
Example:

"Accepted"