Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Enter your token in the format token TOKEN

Headers

X-PhraseApp-OTP
string

Two-Factor-Authentication token (optional)

Path Parameters

id
string
required

ID

Body

application/json
note
string

A note to help you remember what the access is used for.

Example:

"My Deploy Script"

scopes
enum<string>[]

A list of scopes that the access can be used for.

Available options:
read,
write,
orders.create,
team.manage
Example:
expires_at
string<date-time>

Expiration date for the authorization token. Null means no expiration date (default).

Example:

"2015-03-30T09:52:53Z"

Response

OK

id
string
note
string
token_last_eight
string
hashed_token
string
scopes
string[]
expires_at
string<date-time>
created_at
string<date-time>
updated_at
string<date-time>