Website Management
Update website information
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.
patch/v1/workspace/website/update
Request
- Base URL: https://api.lindo.ai
- URL: https://api.lindo.ai/v1/workspace/website/update
- Auth: HTTP bearer
Request body
Example request
{
"website_id": "website_abc123",
"business_name": "My Business",
"business_description": "A great business providing excellent services",
"custom_code_header": "<script>console.log('header');</script>",
"custom_code_footer": "<script>console.log('footer');</script>",
"robots": "User-agent: *\nAllow: /",
"language": "en",
"activated": true
}Response
Website updated successfully
Example response
{
"success": true,
"result": {
"message": "Website updated successfully",
"website_id": "website_abc123",
"business_name": "My Business",
"business_description": "A great business providing excellent services",
"custom_code_header": "<script>console.log('header');</script>",
"custom_code_footer": "<script>console.log('footer');</script>",
"robots": "User-agent: *\nAllow: /",
"language": "en",
"activated": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.