Skip to main content
PATCH
Update website site

Authorizations

Authorization
string
header
required

Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Path Parameters

sid
string
required

Website site sid (sg_si_...).

Required string length: 18
Pattern: ^sg_si_

Body

application/json

Request body of update_website_site.

identification
enum<string>

companies or people. A switch to people needs confirm_identification true in the same call; a switch to companies needs none and keeps the stored confirmation.

Available options:
companies,
people
confirm_identification
boolean

true only after the person confirmed the customer's duties for the level the site ends at: stored as identification_confirmation, also on its own (a site with none gets no codes). false is the same as leaving it out.

include_subdomains
boolean

Hosts under the domain belong to the site. Default true.

Code the links to this site (once it is verified and confirmed for its level, and while the team switch is on). Default true.

carrier_linkedin
enum<string>

Where the code rides in a LinkedIn link: fragment (default) or query.

Available options:
fragment,
query
carrier_email
enum<string>

Where the code rides in an email link: query (default) or fragment.

Available options:
fragment,
query

not_required (default) stores the visitor id on the first hit; required waits for the site's banner to call gs('consent', true).

Available options:
not_required,
required
fingerprint_mode
enum<string>

on (default), consent (only after consent) or off.

Available options:
on,
consent,
off
anonymize_ip
boolean

Keep a resolved session's address as its network part only. Default false.

ignored_ips
string[]

IPv4 or IPv6 addresses or CIDR ranges of internal traffic (the office, the VPN). Replaced whole; at most 50; an entry that is neither is 422 invalid_ip.

Maximum array length: 50
live_alerts
enum<string>

off | key_pages (default) | all_known: when a known person on the site alerts the team now.

Available options:
off,
key_pages,
all_known
live_alert_tasks
boolean

A live alert also opens a task, due now, on the person's open threads. Default true; false sends the notice alone.

live_alert_task_minutes
integer | null

The life of that task in minutes, 5 to 43200 (30 days): still open by then, the sweep cancels it. null = it never expires. Default 30.

Required range: 5 <= x <= 43200
inbound_playtable_sid
string | null

The table an identified visitor nobody has would be handed to; stored only today. null clears it.

Required string length: 18
Pattern: ^pt_tb_
enabled
boolean

false switches the site off (status disabled: hits dropped, no codes); true brings it back as verified when it had been verified and was not broken, else as pending. Already in that state changes nothing.

Response

update success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
update
item
object
required
updated_fields
string[]
required
previous_values
object
required
meta
object
required
kept_fields
string[]

The fields this write did not change because the person's own value stands on them (stamped person); read the item for what landed.