webdbs

Delete a webhook

Changed on

Deletes a WebDB webhook.

delete/webdbs/webhooks/{webhook_id}

Request

  • Base URL
    https://api.context.dev/v1
  • URL
    https://api.context.dev/v1/webdbs/webhooks/{webhook_id}
  • Auth
    HTTP bearer

Path parameters

webhook_idstring required

Webhook ID.

Example:wh_123

Query parameters

tagsstring[]

Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.

Optional comma-separated caller-defined tags for tracking this request. Tags are recorded on the request's usage log and can be used to filter usage on the dashboard usage page. Up to 20 tags, each 1-50 characters.

[
  "production",
  "team-alpha"
]

Response

Webhook deleted

idstring required

Deleted resource ID.

deletedboolean required

Whether the resource was deleted.

Example response

{
  "deleted": true
}

Changes

    • warning

      added the new WEBSITE_BLOCKED enum value to the response property for the response status

    • warning

      added the new WEBSITE_BLOCKED enum value to the response property for the response status

    • warning

      added the new COLD_DOMAIN_TIMEOUT_TOO_LOW enum value to the response property for the response status

    • warning

      added the new COLD_DOMAIN_TIMEOUT_TOO_LOW enum value to the response property for the response status