---
title: "Update a site's domain or verification method"
method: PATCH
path: "/sites/{id}"
tags: ["Sites"]
---

# Update a site's domain or verification method

`PATCH /sites/{id}`

## Request

- Base URL: `https://api.katla.app`
- URL: `https://api.katla.app/sites/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `domain` string
  - `verificationMethod` 'dns' | 'meta_tag'

## Response `200`

Default Response

- object
  - `id` string, required
  - `domain` string, required
  - `verificationStatus` 'pending' | 'verifying' | 'verified' | 'failed', required
  - `verificationMethod` 'dns' | 'meta_tag', nullable, required
  - `verificationToken` string, required
  - `faviconUrl` string, nullable, required
  - `settings` object, nullable, required
    - `colors` object
      - `light` object, required
        - `primary` string, required
        - `secondary` string, required
        - `accent` string, required
        - `background` string
        - `foreground` string, required
        - `muted` string, required
      - `dark` object, required
        - `primary` string, required
        - `secondary` string, required
        - `accent` string, required
        - `background` string
        - `foreground` string, required
        - `muted` string, required
    - `theme` 'system' | 'light' | 'dark', required
    - `layout` 'box' | 'banner' | 'modal', required
    - `blocking` boolean
    - `position` 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', required
    - `radius` number, required
    - `googleConsentMode` boolean
    - `regulation` 'gdpr' | 'ccpa' | 'auto'
    - `privacyPolicyUrl` union
      - string, uri
      - ''
    - `cookiePolicyUrl` union
      - string, uri
      - ''
    - `equalButtons` boolean
    - `showSettingsButton` boolean
  - `branding` object, nullable, required
    - `colors` object, required
      - `light` object, required
        - `primary` string, required
        - `secondary` string, required
        - `accent` string, required
        - `background` string
        - `foreground` string, required
        - `muted` string, required
      - `dark` object, required
        - `primary` string, required
        - `secondary` string, required
        - `accent` string, required
        - `background` string
        - `foreground` string, required
        - `muted` string, required
  - `brandingSuggestion` object, nullable, required
    - `colors` object, required
      - `light` object, required
        - `primary` string, required
        - `secondary` string, required
        - `accent` string, required
        - `background` string
        - `foreground` string, required
        - `muted` string, required
      - `dark` object, required
        - `primary` string, required
        - `secondary` string, required
        - `accent` string, required
        - `background` string
        - `foreground` string, required
        - `muted` string, required
    - `extractedAt` string, required
    - `dismissedAt` string
  - `scanSettings` object, nullable, required
    - `lighthousePages` string[], required
    - `enableLighthouse` boolean, required
  - `createdAt` string, required
  - `updatedAt` string, required

## Other responses

- `400`: Default Response
- `404`: Default Response

---

[API](https://skmtc.dev/katla/apis/katla-api.md) · [All operations](https://skmtc.dev/katla/apis/katla-api/llms.txt) · [OpenAPI document](https://skmtc.dev/katla/apis/katla-api/revisions/6ed2d7f0b009?raw)
