Skip to content

API reference

Stop a webhook

Other routes API

DELETE/v1/webhooks/{id}

Stops one webhook. No step is posted to it again, including any still waiting for another attempt.

Path parameters

  • idstring (uuid)Required

Status codes

Status Meaning
204 Stopped.
401 No usable credential was sent (invalid_credentials).
404 This company has no live webhook with this id (unknown_webhook). The same answer is given for a stopped one, another company’s, or an invalid id.
DELETE/v1/webhooks/{id}
Example
curl -X DELETE https://api.certinvo.com/v1/webhooks/$WEBHOOK_ID \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const webhookId = '3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a'

const response = await fetch(`https://api.certinvo.com/v1/webhooks/${webhookId}`, {
  method: 'DELETE',
  headers: {
    Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
  },
})
console.log(response.status, await response.json())
import os

import requests

webhook_id = "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a"

response = requests.delete(
    f"https://api.certinvo.com/v1/webhooks/{webhook_id}",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)
204
No response body.
Success response
DELETE
/v1/webhooks/{id}
Stop a webhook
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Variables1
›Headers2
›Code Snippet
curl -X DELETE "https://api.certinvo.com/v1/webhooks/{id}" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close