Ir al contenido
KUTI

Eliminar endpoint

Elimina un webhook endpoint. Deja de recibir entregas.

DELETEhttps://api.kuti.pe/v1/webhook-endpoints/{id}
Responde 204 sin body si se eliminó.

Path

Campo
Descripción
id
stringrequerido
Id del endpoint (we_…).Ej: we_01J8Z3K4M5N6P7Q8R9S0T1U2V3

Language

Credentials

Header

Authorization

Secret key de developer · HTTP directo; SDK oficial → /sdks

Fetch Request
$ # Node 18+ fetch · SDK oficial: npm i @kuti-pe/node
const response = await fetch("https://api.kuti.pe/v1/webhook-endpoints/we_01J8Z3K4M5N6P7Q8R9S0T1U2V3", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer kuti_live_…"
  }
});

const data = await response.json();
console.log(data);
HTTP directo · este endpoint aún no está en el SDK v1 → /sdks
Response

Elige un ejemplo de respuesta:

application/json
204OK
{}