---
title: "Update an endpoint"
method: PATCH
path: "/api/v1/endpoints/{endpoint_id}"
tags: ["endpoints"]
---

# Update an endpoint

`PATCH /api/v1/endpoints/{endpoint_id}`

## Request

- Base URL: `https://monit.rs`
- URL: `https://monit.rs/api/v1/endpoints/{endpoint_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `endpoint_id` string, uuid, required

## Headers

- `Idempotency-Key` string

## Request body

- object

## Response `200`

Updated.

## Other responses

- `401`: Not authenticated.
- `403`: Missing write:endpoints scope.
- `404`: Not found.
- `409`: Idempotency-Key reused with different body.
- `422`: Validation error.
- `429`: Rate limit exceeded.

---

[API](https://skmtc.dev/monit/apis/monit-rs-public-api.md) · [All operations](https://skmtc.dev/monit/apis/monit-rs-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/monit/apis/monit-rs-public-api/revisions/7e1923981112?raw)
