---
title: "Update domain settings"
method: POST
path: "/domains/settings/{domainId}"
tags: ["Domains"]
---

# Update domain settings

`POST /domains/settings/{domainId}`

Update domain settings

## Path parameters

- `domainId` integer, required

## Request body

- object
  - `httpsLevel` union
    - 'none'
    - 'redirect'
    - 'hsts'
  - `robots` union
    - 'allow'
    - 'disallow'
    - 'noindex'
  - `redirect404` union
    - string, uri
    - ''
  - `segmentKey` string, nullable
  - `linkType` union
    - 'increment'
    - 'random'
    - 'secure'
    - 'four-char'
    - 'eight-char'
    - 'ten-char'
  - `cloaking` boolean — Enable cloaking for all links on the domain
  - `hideReferer` boolean
  - `hideVisitorIp` boolean — Don't store visitor IPs in our database
  - `httpsLinks` boolean, nullable — Set to null to reissue a certificate
  - `webhookURL` string, uri, nullable
  - `integrationGA` string, nullable
  - `integrationFB` string, nullable
  - `integrationAdroll` string, nullable
  - `integrationGTM` string, nullable
  - `clientStorage` object — For internal use
  - `purgeExpiredLinks` boolean — [DEPRECATED] do not use
  - `enableAI` boolean
  - `caseSensitive` boolean — Enable case sensitivity for short links

## Response `200`

Default Response

---

[API](https://skmtc.net/short/apis/short-io-api.md) · [All operations](https://skmtc.net/short/apis/short-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/short/short-io-api/versions/288b112e7951/schema)
