---
title: "PATCH /endpoints/{endpointId}"
method: PATCH
path: "/endpoints/{endpointId}"
---

# PATCH /endpoints/{endpointId}

`PATCH /endpoints/{endpointId}`

## Request

- Base URL: `https://webhook.api.sandbox.cleeng.com`
- URL: `https://webhook.api.sandbox.cleeng.com/endpoints/{endpointId}`
- Auth: API key in header `X-Publisher-Token`

## Path parameters

- `endpointId` string, required

## Request body

- object
  - `url` string: HTTPS URL to receive webhook deliveries.
  - `name` string: Human-readable endpoint name. </br> ≤ 100 characters
  - `events` string[]: Replaces the entire events list. </br> ≥ 1 items
  - `status` 'active' | 'paused': Endpoint status.
  - `retry` object
    - `maxAttempts` integer: Maximum number of delivery attempts (1 initial + retries). </br> Allowed values [1, 5] </br> Default: 4
  - `metadata` object: An object with arbitrary metadata. </br> Key-value metadata (max 10 keys, keys ≤40 chars, values ≤500 chars). </br> ≤ 10 properties
    - `additionalProp1` string: Additional property. </br> ≤ 500 characters

## Response `200`

Endpoint updated successfully

## Other responses

- `400`: Validation error
- `404`: Endpoint not found
- `409`: URL already registered to another endpoint

---

[API](https://skmtc.dev/cleeng/apis/webhooks-api.md) - [All operations](https://skmtc.dev/cleeng/apis/webhooks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cleeng/apis/webhooks-api/revisions/11c3ee3902ce?raw)
