Skip to main content
PATCH
Update Location

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Path Parameters

location_id
string<uuid>
required

The location to update.

Body

application/json
website_id
string<uuid>
required
location
string

New name. Trimmed; blank rejected.

country
string

New country (case-insensitive, supported).

prompt_ids
string<uuid>[]

Replace active associations. Omit to keep existing; [] clears them.

Maximum array length: 1000

Response

Location updated

id
string<uuid>
required
location
string
required
country
string | null
before
object