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"
}

Documentation Index

Fetch the complete documentation index at: https://docs.moflay.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The API key to use for authentication

Path Parameters

id
string | null
required

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

Maximum string length: 255
Example:

"cus_GqfKXLmg61LURZhB"

Response

Customer deleted successfully

Customer deleted successfully

id
string | null
required

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

Maximum string length: 255
Example:

"cus_GqfKXLmg61LURZhB"