Webhooks
Update Webhook
Change an endpoint or turn it on or off
PUT
Update Webhook
Changes an endpoint. Fields you leave out stay as they are. The signing secret does not change.Request
Other workspaces whose events it also gets, or
["*"]. Send null to limit it to its own workspace.Response
The updated endpoint object.The https address that receives the events. An address can carry a token, so it is shown in full only when the key’s owner may edit the endpoint (
notifications edit in its workspace, and in every workspace it covers). Otherwise it is cut to the scheme and host, such as https://example.com/….The last four characters of the signing secret. The API returns the full secret only when you create the endpoint; the app can show it again.
Other workspaces whose events it also gets (
["*"] for every workspace the creator owns), or nullWhether the endpoint is on. PostSyncer turns an endpoint off after it has been failing for 3 days.
webhooks:update permission. Errors are the same as Create webhook, plus 404 when the endpoint does not exist or is in a workspace you cannot reach.