Référence API · Number lookups
POST Annuler un lookup
Annule un lookup asynchrone en attente ou en cours de traitement.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Annule un lookup asynchrone en attente ou en cours de traitement.
POST /api/v1/number-lookups/{id}/cancel
| Champ | Type | Requis | Emplacement | Description |
|---|---|---|---|---|
id | UUID | oui | path | ID du lookup |
200{
"data": {
"id": "lookup_uuid",
"status": "cancelled",
"completedAt": "2026-05-07T10:00:08.000Z"
}
}
| Code | HTTP | Quand |
|---|---|---|
LOOKUP_NOT_FOUND | 404 | Lookup introuvable |
LOOKUP_CANNOT_BE_CANCELLED | 400 | Lookup déjà terminé, en échec ou annulé |