---
title: "Update tenweb-builder plugin for a website"
method: POST
path: "/v1/hosting/websites/{website_id}/update-builder"
tags: ["Website"]
---

# Update tenweb-builder plugin for a website

`POST /v1/hosting/websites/{website_id}/update-builder`

## Request

- Base URL: `https://api.10web.io`
- URL: `https://api.10web.io/v1/hosting/websites/{website_id}/update-builder`
- Auth: none declared. Required headers: `x-api-key`
- TypeScript: <https://skmtc.dev/10web/apis/10web-api-v1/docs/v1/hosting/websites/:website_id/update-builder/post.ts> (a function with typed inputs; its response is checked against the schema)

Updates the AI builder plugin to the latest version for a specific website. 
This endpoint automatically detects whether the website is live or staging and updates 
the appropriate environment accordingly.

## Path parameters

- `website_id` integer, required

## Headers

- `x-api-key` string, required

## Response `200`

Plugin updated successfully

- object
  - `status` 'ok': Status of the operation
  - `message` string: Success message

## Other responses

- `403`: Unauthorized access
- `429`: Too many requests
- `500`: Something went wrong

---

[API](https://skmtc.dev/10web/apis/10web-api-v1.md) - [All operations](https://skmtc.dev/10web/apis/10web-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/10web/apis/10web-api-v1/revisions/01afc9651dfc?raw)
