Update a webhook subscription
Pause or resume it (resuming clears failure_count), change its URL or headers, or rotate the secret (the new one is returned once).
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
The subscription’s webhook_id.
Request
This endpoint expects an object.
custom_headers
name
description
url
status
Allowed values:
rotate_secret
Response
The subscription; secret only when it was rotated.
webhook_id
name
url
event
status
api_version
failure_count
created_at
updated_at
description
custom_header_names
last_failure_at
last_success_at
last_status_code
last_delivery_at
secret
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error