Endpoint

Edit the endpoint specified by the id.

patch/1.0/endpoints/{id}

Request

  • Base URL
    https://customer-api.datadome.co
  • URL
    https://customer-api.datadome.co/1.0/endpoints/{id}
  • Auth
    API key in header x-api-key

Path parameters

idstring required

Endpoint identifier

Request body

namestring
descriptionstring nullable
positionBeforestring 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.

domainstring nullable
pathInclusionstring nullable
pathExclusionstring nullable
userAgentInclusionstring nullable
responseFormat'json' | 'html' | 'auto'
detectionEnabledboolean

The detection status for the endpoint.

protectionEnabledboolean

The protection status for the endpoint.

querystring nullable

Example request

{
  "cookieSameSite": "Lax",
  "responseFormat": "auto"
}

Response

Endpoint resource updated

namestring
descriptionstring nullable
positionBeforestring 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.

domainstring nullable
pathInclusionstring nullable
pathExclusionstring nullable
userAgentInclusionstring nullable
responseFormat'json' | 'html' | 'auto'
detectionEnabledboolean

The detection status for the endpoint.

protectionEnabledboolean

The protection status for the endpoint.

querystring nullable

Example response

{
  "cookieSameSite": "Lax",
  "responseFormat": "auto"
}

Changes

No recorded changes to this operation across all 1 revision of this API.