Skip to main content
PATCH
Typescript (SDK)

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Path Parameters

id
string
required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Body

application/json
name
string
access_mode
enum<string>
Available options:
public,
account,
admins_only,
me_only
show_referral_badge
boolean

Response

AI site updated

id
string
required
object
string
required
name
string
required
access_mode
enum<string>
required
Available options:
public,
account,
admins_only,
me_only
subdomain
string | null
required
github_repo_full_name
string | null
required
domain
string | null
required
github_url
string | null
required
domain_verified
boolean
required
app_url
string | null
required
is_live
boolean
required
show_referral_badge
boolean
required
build_task_id
string | null
required
created_at
string
required