ByDomuDevelopers

Eliminar webhook

DELETEhttps://api.bydomu.com/v1/webhooks/{id}

This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.

Da de baja la suscripción. Las entregas pendientes se cancelan.

Permission required

webhooks:write

Required header

X-API-Key · secret key

Access level

Level 3 · with support review

Path parameters

1 · required
idstring · required
ID del webhook

Headers

1 · all optional
Idempotency-Keystring · optional
Clave única de la operación (8-128 caracteres de [a-zA-Z0-9._:-]). Un reintento con la misma clave y el mismo cuerpo devuelve la respuesta original sin repetir la operación. Vive 24 horas.8–128 chars

Response 200

DeletedWebhook · 2 fields
datasuccess · url
successbooleantrue
urlstring

Possible errors

shaped as { "error": { "code", "message" } }
  • 400Datos inválidos: el cuerpo o la query no cumplen el esquema, o `Idempotency-Key` está mal formada.
  • 401UNAUTHORIZED
  • 402PAYMENT_REQUIRED
  • 403FORBIDDEN
  • 404NOT_FOUND
  • 409DUPLICATE
  • 429RATE_LIMITED
  • 500INTERNAL_ERROR
RequestDELETE/v1/webhooks/{id}
Official SDK · @bydomu/sdk · not on npm yet
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({
  apiKey: process.env.BYDOMU_API_KEY,
});

const { data } = await bydomu.webhooks.delete("clx1whk001");
200 OK · example
{
  "data": {
    "success": true,
    "url": "https://hooks.zapier.com/hooks/catch/123456/abcdef/"
  }
}