Skip to main content
PATCH
/
legal-policies
Update legal policies
curl --request PATCH \
  --url https://{subdomain}.nudj.cx/api/v2/admin/legal-policies \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: <api-key>' \
  --data '{
  "termsAndConditionsUrl": "<string>",
  "privacyPolicyUrl": "<string>",
  "privacyNoticeUrl": "<string>",
  "cookiePolicyUrl": "<string>"
}'
{
  "termsAndConditionsUrl": "<string>",
  "privacyPolicyUrl": "<string>",
  "privacyNoticeUrl": "<string>",
  "cookiePolicyUrl": "<string>"
}

Authorizations

x-api-token
string
header
required

Body

application/json

Update the legal URLs and policies

termsAndConditionsUrl
string<uri> | null

URL to the terms and conditions page

privacyPolicyUrl
string<uri> | null

URL to the privacy policy page

privacyNoticeUrl
string<uri> | null

URL to the privacy notice page

URL to the cookie policy page

Response

Successful response

Configuration for legal URLs and policies

termsAndConditionsUrl
string<uri> | null

URL to the terms and conditions page

privacyPolicyUrl
string<uri> | null

URL to the privacy policy page

privacyNoticeUrl
string<uri> | null

URL to the privacy notice page

URL to the cookie policy page

I