Skip to main content
PATCH
Update a hook

Authorizations

x-api-key
string
header
required

API key from your organization. Supply the value directly, without a Bearer prefix.

Path Parameters

id
string
required

Opaque resource identifier.

Minimum string length: 1

Body

application/json
url
string<uri>

Public HTTPS endpoint that receives events.

Pattern: ^https://
enabled
boolean

Response

Successful response.

id
string
required

Built-in hook IDs are triage, remediation, and verification. Custom webhook IDs are opaque.

Minimum string length: 1
event
enum<string>
required
Available options:
vulnerability.status_changed,
vulnerability.assignee_changed
url
string<uri> | null
required

Webhook destination. Null for a built-in hook.

enabled
boolean
required
builtIn
boolean
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required