---
title: "Update website settings"
method: PUT
path: "/v1/workspace/website/{website_id}/settings"
tags: ["Website Management"]
---

# Update website settings

`PUT /v1/workspace/website/{website_id}/settings`

## Request

- Base URL: `https://api.lindo.ai`
- URL: `https://api.lindo.ai/v1/workspace/website/{website_id}/settings`
- Auth: HTTP bearer

Updates website settings including business name, description, language, theme, and custom code.

## Path parameters

- `website_id` string, required: Unique identifier of the website

## Request body

- WebsiteSettingsUpdateRequest
  - `business_name` string: Business name for the website
  - `business_description` string: Business description
  - `language` string: Language of the website
  - `theme` object: Theme configuration for the website
  - `robots` string: Robots.txt content for the website
  - `custom_code_header` string: Custom code to inject in the header
  - `custom_code_footer` string: Custom code to inject in the footer
  - `socials` object: Social media links for the website
  - `fonts` WebsiteFontSettings: Font configuration for the website
    - `body` string: Body font family
    - `heading` string: Heading font family

## Response `200`

Website settings updated successfully

- WebsiteSettingsUpdateResponse
  - `success` true, required: Indicates the operation was successful
  - `result` WebsiteSettingsUpdateResult, required
    - `message` string, required: Success message
    - `website_id` string, required: Unique identifier of the updated website
    - `business_name` string: Updated business name
    - `business_description` string: Updated business description
    - `language` string: Updated language
    - `theme` object: Updated theme configuration
    - `robots` string: Updated robots.txt content
    - `custom_code_header` string: Updated custom header code
    - `custom_code_footer` string: Updated custom footer code
    - `socials` object: Updated social media links
    - `fonts` WebsiteFontSettings: Font configuration for the website
      - `body` string: Body font family
      - `heading` string: Heading font family

## Other responses

- `400`: Bad request - validation error
- `401`: Unauthorized - invalid or missing API key
- `404`: Website not found
- `500`: Internal server error

---

[API](https://skmtc.dev/lindo/apis/lindo-unified-api.md) · [All operations](https://skmtc.dev/lindo/apis/lindo-unified-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lindo/apis/lindo-unified-api/revisions/2672f34525a4?raw)
