Update Webhook Subscription
PATCH /v2/partner/webhook-subscriptions/{id}
Required scopes
partner:webhooks:write
Tokens missing any required scope return 401 scope_missing.
See Auth & Scopes for issuance.
Operation
| Operation ID | updateWebhookSubscription |
| Tags | Operations |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| id * | path | id |
Request body
Required
object
| Field | Type | Description |
|---|---|---|
| id * | id | UUID v4. |
| type * | enum (1) | webhook_subscription |
| team_id * | id | UUID v4. |
| name | string | |
| target_url * | string (uri) | |
| event_types * | items[] | |
| is_active * | boolean | |
| is_disabled_for_failures * | boolean | |
| consecutive_permanent_failures * | integer | |
| last_delivered_at | updated_at | RFC 3339 / ISO 8601 timestamp. |
| inserted_at * | updated_at | RFC 3339 / ISO 8601 timestamp. |
| updated_at * | updated_at | RFC 3339 / ISO 8601 timestamp. |
Responses
200
OK
object
| Field | Type | Description |
|---|---|---|
| id * | id | UUID v4. |
| type * | enum (1) | webhook_subscription |
| team_id * | id | UUID v4. |
| name | string | |
| target_url * | string (uri) | |
| event_types * | items[] | |
| is_active * | boolean | |
| is_disabled_for_failures * | boolean | |
| consecutive_permanent_failures * | integer | |
| last_delivered_at | updated_at | RFC 3339 / ISO 8601 timestamp. |
| inserted_at * | updated_at | RFC 3339 / ISO 8601 timestamp. |
| updated_at * | updated_at | RFC 3339 / ISO 8601 timestamp. |
Example request
PATCH https://api.digitalonboarding.com/v2/partner/webhook-subscriptions/{id}
Authorization: Bearer <partner-token>
Content-Type: application/json
Idempotency-Key: <uuid-v4>
{ /* request body matching schema above */ }