# Update Help Center

PUT /api/v2/projects/{projectId}/knowledge/help-centers/{id}

Updates a help center's presentation and settings: display name, theme, and Google Analytics ID. Only the fields present in the body are written. The public site is reachable once a collection has a published public article. Set theme.favicon to a public image URL to use that image as the browser-tab icon; null clears it. Custom domains are managed separately through the domain endpoints.

## Request

- projectId: string, path, required — ID of the project that owns the help center.
- id: string, path, required — ID of the help center to update.
- displayName: string
- googleAnalyticsId: string
- theme: object
  - articleMeasure: 60 | 70 | 80 | 90
  - articleMonoFont: string
  - articleSectionSize: 18 | 20 | 22 | 24 | 28 | 30 | 32
  - articleShowRelated: boolean
  - articleShowToc: boolean
  - articlesSectionArticleIds: string[]
  - articlesSectionEnabled: boolean
  - articlesSectionLayout: value
  - articlesSectionTitle: string
  - articleSubsectionSize: 14 | 16 | 18 | 20 | 22 | 24 | 28
  - articleTitleSize: 28 | 30 | 32 | 36 | 40 | 48
  - articleTypeFlow: 1 | 2 | 1.25 | 1.5
  - articleTypeLeading: 1.6 | 1.75 | 1.9
  - articleTypeSize: 12 | 13 | 14 | 15 | 16 | 17 | 18 | 20 | 22 | 24
  - authorAvatarColor: string
  - backgroundColor: string — Page canvas. Hovers on the page wash the ink chosen for this canvas.
  - cardColor: string — Background of collection and article cards, and of the search field and results menu. Search field hover mixes 8% of Text Color into this fill. When this is empty, the search field and menu sit on the page canvas.
  - cardDisplayMode: default | compact | minimal
  - cardShowMedia: icon | image | none
  - cardStyle: card | floating
  - collectionsIconBackgroundColor: string
  - collectionsIconBackgroundEnabled: boolean
  - collectionsIconBackgroundType: color | gradient
  - collectionsIconColor: string
  - …

## Response

- 200: Successful response
  - createdAt: string, required
  - customDomainVerified: boolean, required
  - displayName: string, required
  - id: string, required
  - projectId: string, required
  - updatedAt: string, required
  - url: string, required
  - websiteEnabled: boolean, required, default true
  - customDomain: string
  - customDomainVerificationDNS: object[]
    - domain: string, required
    - type: string, required
    - value: string, required
    - reason: string
  - googleAnalyticsId: string
  - theme: object
    - articleMeasure: 60 | 70 | 80 | 90
    - articleMonoFont: string
    - articleSectionSize: 18 | 20 | 22 | 24 | 28 | 30 | 32
    - articleShowRelated: boolean
    - articleShowToc: boolean
    - articlesSectionArticleIds: string[]
    - articlesSectionEnabled: boolean
    - articlesSectionLayout: value
    - articlesSectionTitle: string
    - articleSubsectionSize: 14 | 16 | 18 | 20 | 22 | 24 | 28
    - articleTitleSize: 28 | 30 | 32 | 36 | 40 | 48
    - articleTypeFlow: 1 | 2 | 1.25 | 1.5
    - articleTypeLeading: 1.6 | 1.75 | 1.9
    - articleTypeSize: 12 | 13 | 14 | 15 | 16 | 17 | 18 | 20 | 22 | 24
    - authorAvatarColor: string
    - backgroundColor: string — Page canvas. Hovers on the page wash the ink chosen for this canvas.
    - cardColor: string — Background of collection and article cards, and of the search field and results menu. Search field hover mixes 8% of Text Color into this fill. When this is empty, the search field and menu sit on the page canvas.
    - cardDisplayMode: default | compact | minimal
    - cardShowMedia: icon | image
…
