# Cliente eliminado

El evento se dispara cada vez que se elimina un cliente, ya sea desde la web o desde la app de Android.

{% hint style="info" %}
El evento no se dispara si el Cliente es eliminado desde el endpoint correspondiente del a API
{% endhint %}

De estar configurado el [webhook](/como-usar-la-api/nueva-entrega.md), se dispara el evento **client.deleted**

### Datos enviados en el evento

Los datos son enviados mediante una consulta HTTP POST, en donde el body contiene el siguiente texto en formato JSON.

```json
{
    "eventType": "client.deleted",
    "payload": {
        "uid_client": "CLA-99832"
    }
}
```

Algunos puntos a tener en cuenta son:

**eventType:** Tipo de evento. Para el caso de cliente borrado, siempre será "**client.deleted**"

**payload.uid\_client:** Nro de cliente que fue eliminado.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.api.persat.com.ar/entidades-basicas/clientes/eventos-webhooks/evento-de-cliente-borrado.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
