---
title: "Patch"
method: PATCH
path: "/v2/webhooks/{webhook_id}"
tags: ["V2Webhooks"]
---

# Patch

`PATCH /v2/webhooks/{webhook_id}`

## Path parameters

- `webhook_id` string, required

## Request body

- WebhookPatchRequest
  - `headers` string[]
  - `name` string
  - `description` string
  - `webhook_url` string, uri
  - `payload_format` 'json' | 'stringified_json' — An enumeration.
  - `status` 'active' | 'disabled' — An enumeration.

## Response `200`

Successful Response

- WebhookResponse — This is base response model for all responses in partner service.
  - `webhook_id` string, required
  - `scope` WebhookScope, required
    - `type` 'tenant' | 'organization' | 'partner', required — An enumeration.
    - `id` string, required
  - `name` string, required
  - `description` string
  - `webhook_url` string, required
  - `headers` string[]
  - `payload_format` 'json' | 'stringified_json' — An enumeration.
  - `status` 'active' | 'disabled', required — An enumeration.
  - `created_at` string, date-time, required
  - `last_modified_time` string, date-time, required
  - `legacy` boolean
  - `response_context` ResponseContext, required
    - `correlation_id` string, required
    - `request_status` 'success' | 'miss' | 'failure', required — The `RequestStatus` class is an enumeration that defines the possible statuses of a request. This enum is used to indicate whether a request was successful, missed, or failed. It ensures consistent handling of request statuses across the application. Attributes: SUCCESS: Indicates that the request was successfully processed. MISS: Indicates that the request did not find any matching data. FAILURE: Indicates that the request encountered an error or failure.
    - `time_took_in_seconds` number, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explorium-ai/apis/partner-service.md) · [All operations](https://skmtc.dev/explorium-ai/apis/partner-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explorium-ai/partner-service/revisions/2d72469940e5/schema)
