Skip to main content
PATCH
Update a webhook endpoint

Authorizations

Authorization
string
header
required

Server-side scoped Ignyt API key.

Headers

Idempotency-Key
string
required

Required. A client-generated key that identifies this operation so it can be retried safely. Repeating the request with the same key and the same body returns the original result instead of performing the action again; reusing a key with a different body is rejected with 409. After a timeout or network error, retry with the same key, never a new one. Reuse is scoped to the calling API key; look up a committed result with GET /v1/webhook-commands/{command_key}.

Required string length: 1 - 80
Pattern: ^[A-Za-z0-9_.:-]+$
authorization
string | null
x-ignite-app-id
string | null

Path Parameters

endpoint_id
string
required

Body

application/json
expected_revision
integer
required

The endpoint's current revision; a stale value returns 409.

Required range: x >= 1
event_types
string[]
Maximum array length: 100
Required string length: 1 - 100
Pattern: ^[a-z][a-z0-9_.]*(?:\*)?$
name
string
default:""
Maximum string length: 100
status
enum<string>
default:active

active or disabled.

Available options:
active,
disabled
url
string
default:""
Required string length: 1 - 2048

Response

Successful Response

environment
enum<string>
required
Available options:
sandbox,
live
event_types
string[]
required
id
string
required
name
string
required
revision
integer
required
status
enum<string>
required
Available options:
active,
disabled
url
string
required