For the complete documentation index, see llms.txt. This page is also available as Markdown.

Eliminar un cliente

DELETE https://api.persat.com.ar/v1/clients/uid_client

Eliminar el cliente cuyo número es uid_client y todo su historial

Headers

Name
Type
Description

Authorization*

string

Bearer API_KEY

{
    "success": true,
    "data": {
        "uid_client": "CL-0044"
    }
}
{
    "success": false,
    "error": {
        "status": 404,
        "type": "NOT_FOUND",
        "userMessage": "No existe un cliente con este número."
    }
}

A continuación un ejemplo con curl, en donde elimino el cliente con número "CL-0044"

curl --location --request DELETE "https://api.persat.com.ar/v1/clients/CL-0044" \
  --header "Authorization: Bearer YOUR_API_KEY"

Last updated