# Supprimer une donnée

Supprimer définitivement une données d'une table de données.&#x20;

***

{% hint style="success" %}

### 👍Url de la requête

Dans l'URL de la requête, vous devez remplacer **{$oid}** par l'**$oid** de la donnée à supprimer
{% endhint %}

### Requête

{% code overflow="wrap" lineNumbers="true" %}

```bash
curl --request DELETE \
     --url https://api.getkis.io/api/v1/api_token_access/data_handlers/{$oid} \
     --header 'Authorization: Bearer ...' \
     --header 'accept: text/plain' \
     --header 'content-type: application/json' \
     --data '
{
     "data_handler": { 
          "collection_name": "voitures",
          "document_id": "633f0bce07a52b302d298c88"
     }
}
```

{% endcode %}

### Paramètre

| Paramètre         | Type   | Description                                         | Obligatoire ? |
| ----------------- | ------ | --------------------------------------------------- | ------------- |
| `collection_name` | String | Nom de la table de données de la donnée à supprimer | Oui           |
| `document_id`     | String | **$oid** de la donnée à supprimer                   | Oui           |

{% hint style="danger" %}

### ❗️Attention

La suppression de données est immédiate et définitive.
{% endhint %}


---

# 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://doc.kis.work/documentation/documentation-api/donnees-dune-table-de-donnees/supprimer-une-donnee.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.
