Skip to main content
PATCH
Update a pair

Authorizations

X-API-Key
string
header
required

Your Phrase Platform API token in the X-API-Key header. A missing, invalid or expired token is answered with 401. 403 means the token is valid but the action is not allowed for it.

Path Parameters

id
string<uuid>
required

Pronunciation set ID.

pairId
string<uuid>
required

Pair ID, from the items of the set.

Body

application/json

Fields of a pair to change. Send only what changes.

source
string

The word or phrase as written.

Required string length: 1 - 512
target
string

How it is spoken.

Required string length: 1 - 512
notation
enum<string>

How target is written.

Available options:
plain,
ipa

Response

Pair updated

A set of pronunciation pairs that guides the dubbing voices.

id
string<uuid>

Pronunciation set ID.

name
string

Pronunciation set name.

description
string | null

What the set is for.

active
boolean

Whether the set can be applied to projects.

default
boolean

True for items that Studio provides to every account. They cannot be edited.

shared
boolean

True for items that belong to another account of your organization; false for items you own and for Studio's defaults.

items
object[]

The pronunciation pairs of the set.

createdAt
string<date-time>

Creation time.

updatedAt
string<date-time>

Last update time.