Skip to main content
DELETE
/
v1
/
customers
/
{customer_id}
Delete customer
curl --request DELETE \
  --url https://api-sandbox.y.uno/v1/customers/{customer_id} \
  --header 'account-code: <api-key>' \
  --header 'private-secret-key: <api-key>' \
  --header 'public-api-key: <api-key>'
{
  "error": {
    "code": "INVALID_REQUEST",
    "message": "The request body contains invalid or missing fields"
  }
}
You can delete a customer via this API request. In addition to deleting or anonymizing the customer within Yuno, this request will also trigger the deletion process with the payment providers the customer has interacted with.

Authorizations

public-api-key
string
header
required

Your public API key from the Yuno Dashboard

private-secret-key
string
header
required

Your private secret key (server-side only)

account-code
string
header
required

Your account identifier. The alias X-Account-Code is also accepted.

Path Parameters

customer_id
string<uuid>
required

The unique identifier of the customer

Response

Customer deleted successfully