Docs

Delete a webhook subscription

Deletes one of your subscriptions and stops its deliveries. An id that is not yours is a **404**, not a 403: a 403 would confirm that it exists.

DELETE /webhooks/{id} is not available from a browser. Call it from your server.

Deletes one of your subscriptions and stops its deliveries. An id that is not yours is a 404, not a 403: a 403 would confirm that it exists.

Authorization

ApiKey
headerAuthorizationBearer <rar_live_*>

Send Authorization: Bearer rar_live_..., or use rar_test_... for a test key. Both lanes currently read the same catalogue. Without a key you stay in the anonymous lane: 30 requests/minute and 1,000/day, against 60/minute per key and 2,000/day per organization with one on the Free plan. Sending a key that is malformed, revoked or unknown is a 401; sending none is not.

Path Parameters

id*string

Opaque id of a subscription, as returned by POST /v1/webhooks.

Lengthlength <= 255

Response Body

Deleted. No body.

Example Request
cURL
curl -X DELETE 'https://api.rarity.dev/v1/webhooks/whe_9tGqZ1rXbY2mKp0V' \  -A 'my-app/1.0 (you@example.com)'
Example Response
Empty