Update webhook subscription
Update or disable an automation webhook subscription.
PATCH
Update webhook subscription
Authorizations
A workspace API key.
Headers
Required stable id for this logical write; reuse it after a timeout. Upload endpoints also require the same value in body.idempotencyKey.
Required string length:
1 - 255Path Parameters
Subscription id from list/create responses.
Pattern:
^whs_[a-f0-9]{32}$Body
application/json
Replacement public HTTPS callback endpoint.
Maximum string length:
2048Replacement subscribed event set; deliveries outside it stop.
Required array length:
1 - 8 elementsAvailable options:
job.awaiting_approval, job.progressed, job.completed, job.failed, job.cancelled, artifact.ready, publish.completed, publish.failed Replacement customer-owned HMAC secret; encrypted at rest, never returned.
Required string length:
32 - 512Set 'disabled' to pause deliveries without deleting, 'active' to resume.
Available options:
active, disabled