Skip to main content
PATCH
Update alternative names

Authorizations

Authorization
string
header
required

A Searchable API key, created under Manage Account → Integrations → API Keys. Send as Authorization: Bearer sea_xxxxx. Every key carries one or more scopes (read, write, admin) and may optionally be bound to a single project — see Getting started.

Path Parameters

projectId
string<uuid>
required

The project id.

Body

application/json

The change to make: add and/or remove, or replace on its own. Each list takes up to 25 names.

add
string[]

Names to add. A name the project already has is left as it is.

Maximum array length: 25
Maximum string length: 120
remove
string[]

Names to remove, matched ignoring case. Each must be one of the project's alternative names. A name added automatically for another language moves to Other companies instead, and is not added again; removing a name you added also removes the names added automatically as its translations.

Maximum array length: 25
Maximum string length: 120
replace
string[]

The whole list of names you add; names not in it are removed, as with remove. Names added automatically for other languages are kept, unless the name they translate is removed. An empty list removes every name you added. Not combined with add or remove.

Maximum array length: 25
Maximum string length: 120

Response

Alternative names updated.

success
boolean
required
alternativeNames
string[]
required

The project's alternative names after the change.

added
string[]
required

Names this request added.

removed
string[]
required

Names this request removed, as they were saved.

alreadyPresent
string[]
required

Names asked for that the project already had; nothing changed for them.

cascaded
string[]
required

Names added automatically for other languages that left with a removed name. A name you listed that this strips is here, not in alreadyPresent.