---
title: "Update website information"
method: PATCH
path: "/v1/workspace/website/update"
tags: ["Website Management"]
---

# Update website information

`PATCH /v1/workspace/website/update`

## Request

- Base URL: `https://api.lindo.ai`
- URL: `https://api.lindo.ai/v1/workspace/website/update`
- Auth: HTTP bearer

Updates website details using PATCH semantics. Undefined fields are not modified, null values clear the field. Supports business_name, business_description, custom_code_header, custom_code_footer, robots, language, and activated fields.

## Request body

- WebsitePatchRequest
  - `website_id` string, required: Unique identifier of the website to update
  - `business_name` string, nullable: Business name for the website. Set to null to clear.
  - `business_description` string, nullable: Business description for the website. Set to null to clear.
  - `custom_code_header` string, nullable: Custom code to inject in the header. Set to null to clear.
  - `custom_code_footer` string, nullable: Custom code to inject in the footer. Set to null to clear.
  - `robots` string, nullable: Robots.txt content for the website. Set to null to clear.
  - `language` string, nullable: Language code for the website (e.g., 'en', 'es'). Set to null to clear.
  - `activated` boolean: Whether the website is activated

## Response `200`

Website updated successfully

- WebsitePatchResponse
  - `success` true, required: Indicates the operation was successful
  - `result` WebsitePatchResult, required
    - `message` string, required: Success message
    - `website_id` string, required: Unique identifier of the updated website
    - `business_name` string, nullable: Updated business name
    - `business_description` string, nullable: Updated business description
    - `custom_code_header` string, nullable: Updated custom header code
    - `custom_code_footer` string, nullable: Updated custom footer code
    - `robots` string, nullable: Updated robots.txt content
    - `language` string, nullable: Updated language code
    - `activated` boolean: Updated activation status

## Other responses

- `400`: Bad request - validation error or update failed
- `401`: Unauthorized - invalid or missing API key

---

[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)
