# Update Webhook Subscription Update the configuration of an existing webhook subscription. Endpoint: PUT /v1/webhook-subscriptions/{subscriptionId} Security: OAuth2 ## Path parameters: - `subscriptionId` (string, required) The unique identifier of the subscription. ## Request fields (application/json): - `url` (string, required) The URL to send webhook events to. - `event_types` (array, required) List of event types to subscribe to. At least one event type must be specified. - `state` (string, required) The state of the subscription. Enum: "ENABLED", "DISABLED" - `description` (string) A description of the subscription. - `metadata` (object) Additional metadata for the subscription. This property lets you add custom data to the subscription. The key has a limit of 40 characters and the value has a limit of 500 characters. ## Response 200 fields (application/json): - `id` (string, required) The unique identifier of the subscription. - `url` (string, required) The URL to send webhook events to. - `event_types` (array, required) List of event types this subscription is subscribed to. - `state` (string, required) The state of the subscription. Enum: "ENABLED", "DISABLED" - `created_at` (string, required) Timestamp of when the subscription was created. - `updated_at` (string, required) Timestamp of when the subscription was last updated. - `description` (string) A description of the subscription. - `metadata` (object) Additional metadata for the subscription. This property lets you add custom data to the subscription. The key has a limit of 40 characters and the value has a limit of 500 characters. ## Response 400 fields (application/json): - `message` (string, required) - `code` (string, required) ## Response 403 fields (application/json): - `message` (string, required) - `code` (string, required) ## Response 404 fields (application/json): - `message` (string, required) - `code` (string, required) ## Response 409 fields (application/json): - `message` (string, required) - `code` (string, required) ## Response default fields (application/json): - `message` (string, required) - `code` (string, required)