Skip to main content
DELETE
/
v1
/
customers
/
{id}
Delete a customer
curl --request DELETE \
  --url https://api.withflex.com/v1/customers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "customer": {
    "customer_id": "fcus_01HACM7FZ1084XB1GB6053VM0D",
    "deleted": true
  }
}

Authorizations

Authorization
string
header
required

Use a Bearer token to access this API.

Path Parameters

id
string
required
Example:

"fcus_01J9XR8M3K7VZ8N2YB4WJ6T0RA"

Response

Success

An envelope wrapping a single customer object.

customer
object
required

The customer.

Example:
{
"customer_id": "fcus_01HACM7FZ1084XB1GB6053VM0D",
"deleted": true
}