Skip to main content
PATCH
Enable or disable a webhook

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Path Parameters

pid
string
required

Project id (UUID) belonging to the caller workspace.

id
string
required

Webhook id.

Body

application/json
enabled
boolean
required

The mirror mapping rule is toggled with it.

Response

Updated.

ok
boolean
required