---
title: "Edit the endpoint specified by the id."
method: PATCH
path: "/1.0/endpoints/{id}"
tags: ["Endpoint"]
---

# Edit the endpoint specified by the id.

`PATCH /1.0/endpoints/{id}`

## Path parameters

- `id` string, required

## Response `200`

Endpoint resource updated

- EndpointRead — Endpoint Details
  - `name` string
  - `description` string, nullable
  - `positionBefore` string, nullable
  - `trafficUsage` 'Login' | 'Rss' | 'Form' | 'General' | 'Payment' | 'Cart' | 'Forms' | 'Account Creation'
  - `source` 'Web Browser' | 'Api' | 'Mobile App' | 'Agentic Protocol'
  - `cookieSameSite` 'Lax' | 'None' | 'Strict' — DataDome's cookie SameSite parameter for the endpoint.
  - `domain` string, nullable
  - `pathInclusion` string, nullable
  - `pathExclusion` string, nullable
  - `userAgentInclusion` string, nullable
  - `responseFormat` 'json' | 'html' | 'auto'
  - `detectionEnabled` boolean — The detection status for the endpoint.
  - `protectionEnabled` boolean — The protection status for the endpoint.
  - `query` string, nullable

## Other responses

- `400` — Invalid input
- `403` — Forbidden
- `404` — Resource not found
- `422` — Unprocessable entity

---

[API](https://skmtc.net/datadome/apis/protection-api.md) · [All operations](https://skmtc.net/datadome/apis/protection-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadome/protection-api/revisions/2576052958eb/schema)
