Typescript (SDK)
Sites
Update site
Updates an existing AI site. Domain changes trigger the full Cloudflare custom-hostname lifecycle.
PATCH
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Body
application/json
Response
AI site updated
Available options:
public, account, admins_only, me_only 
