---
title: "Update Endpoint"
method: PATCH
path: "/v1/webhooks/{endpoint_id}"
tags: ["API v1: webhooks"]
---

# Update Endpoint

`PATCH /v1/webhooks/{endpoint_id}`

## Request

- Base URL: `https://tgmarket.io` (the document declares no server; this is the origin it was published from)
- URL: `https://tgmarket.io/v1/webhooks/{endpoint_id}`
- Auth: none declared

Имя, адрес, active. active=true после автоотключения сбрасывает счётчик неудач.

## Path parameters

- `endpoint_id` string, uuid, required

## Request body

- EndpointPatch
  - `name` string, nullable
  - `url` string, nullable
  - `active` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tgmarket/apis/tg-market-api.md) · [All operations](https://skmtc.dev/tgmarket/apis/tg-market-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tgmarket/apis/tg-market-api/revisions/15aba68e1fef?raw)
