Agent Webhooks
Toggle Webhook Status
Enable or disable a webhook
PATCH
Overview
Toggles the enabled/disabled status of a webhook. This is useful for temporarily stopping webhook notifications without deleting the configuration.Endpoint
string
required
Agent UUID
string
required
Webhook UUID
Request
Response
boolean
Indicates if the webhook status was toggled successfully
string
Status message indicating whether webhook was enabled or disabled
object
Updated webhook object with new enabled status
string
Unique webhook identifier
string
Agent UUID this webhook belongs to
string
Webhook name
string
Webhook URL
array
Array of configured event types
integer
Request timeout in seconds
integer
Maximum retry attempts
boolean
New webhook status (toggled from previous state)
string
ISO 8601 timestamp when webhook was created
string
ISO 8601 timestamp when webhook was last updated
integer
Number of events configured for this webhook
string
Current webhook status
Error responses
Important notes
- This endpoint toggles the current enabled/disabled status of the webhook
- Disabled webhooks will not receive any events until re-enabled
- Webhook operations automatically clear the agent cache for immediate effect
- Use this endpoint for temporary webhook management without losing configuration
Related endpoints
- List Agent Webhooks - Get all webhooks for an agent
- Create Webhook - Set up a new webhook
- Get Webhook Details - Retrieve specific webhook information
- Update Webhook - Modify webhook configuration
- Delete Webhook - Remove webhook configuration
- Test Webhook - Send test payload to verify connectivity