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

Authorizations

Authorization
string
header
required

The API key to use for authentication

Path Parameters

id
string
required

Unique identifier for the customer, prefixed with 'cus_'.

Required string length: 4 - 255
Example:

"cus_GqfKXLmg61LURZhB"

Response

Customer deleted successfully

id
string
required

Unique identifier for the customer, prefixed with 'cus_'.

Required string length: 4 - 255
Example:

"cus_GqfKXLmg61LURZhB"

I