Skip to main content
PATCH
Change a website

Authorizations

Authorization
string
header
required

An Intent Leads API key, e.g. il_live_ followed by 32 letters and digits. Create one on the API and CLI page of the dashboard.

Headers

Intent-Leads-Workspace
string<uuid>

Only with an organization key: the workspace to act in (its id; ?workspace=<id> works too). Lanes, leads, exports, lists, websites and webhooks live in workspaces. Without it, an organization key acts in its only workspace, or gets 400 workspace_required (with the list of workspaces) when it has several. Workspace keys don't need it. On keys, team and activity it switches from the organization's own to that workspace's.

Path Parameters

code
string
required

The site's code, e.g. V1.

Body

application/json
monthly_cap
integer
required
name
string
required
paused
boolean
required

Response

The site.

code
string
required
kind
enum<string>
required
Available options:
visitors
name
string
required
domain
string
required
status
enum<string>
required

setup (not connected yet), active, capped (paused at the cap or because the plan ran out) or paused.

Available options:
setup,
active,
capped,
paused
monthly_cap
integer
required
identified_this_period
integer
required
period
object | null
required
install_snippet
string | null
required
setup_error
string | null
required
note
string
required