Update an endpoint
PATCHhttps://api.checkslip.com/api/webhooks/endpoints/{endpoint_id}
API key
Send only the fields to change (url, description, event_types, enabled) as a JSON Merge Patch (Content-Type: application/merge-patch+json). A new url is checked again as on create, and the account owner gets an email. Set enabled to false to stop sending and true to resume. While it is off, new messages are not stored at all, so turning it back on cannot recover them; the time-range resend only covers deliveries that were sent and failed (FAILED). Needs an API key with webhook:manage.
Parameters
| Field | In | Type | Required |
|---|---|---|---|
endpoint_id | path | string | yes |
traceparent | header | string | no |
Request body
application/merge-patch+json
| Field | Type | Required |
|---|---|---|
url | string (uri) | no |
description | string | null | no |
event_types | slip.checked | webhook.test[] | no |
enabled | boolean | no |
Responses
200 application/json
| Field | Type | Required |
|---|---|---|
id | string | yes |
url | string (uri) | yes |
description | string | null | yes |
event_types | slip.checked | webhook.test[] | yes |
enabled | boolean | yes |
disabled_reason | MANUAL | GONE | FAILING | null | yes |
secret_hint | string | yes |
previous_secret_expires_at | string (date-time) | null | no |
created_at | string (date-time) | yes |
updated_at | string (date-time) | yes |
Possible errors
400401403404422
An error as Problem Details. All codes are listed at Error codes