Enable or disable a webhook
post
Authorizations
defguard_sessionstringRequired
Path parameters
idinteger · int64Required
ID of the webhook.
Body
enabledbooleanRequired
Responses
200
Webhook state changed.
No content
401
Session is missing or invalid.
application/json
403
Requires admin privileges.
application/json
404
Webhook not found.
500
Unable to change webhook state.
application/json
post/api/v1/webhook/{id}
POST /api/v1/webhook/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"enabled": true
}No content
Last updated
Was this helpful?