API keys
Update an API key
Update an API key by providing its new details.
PATCH
/
user
/
keys
/
{key}
To learn how to use the token of an API key to authenticate your API requests, read the bearer tokens page.
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
key
string
requiredThe handle of the API key.
Body
application/json
handle
string
The new handle of the API key. Must be unique.
alias
string | null
The new alias of the organization.
Response
200 - application/json
id
string
requiredThe UUID of the API key. Is unique.
handle
string
requiredThe handle of the API key. Is unique.
alias
string | null
requiredThe alias of the API key.
token
string
requiredThe Base64-encoded bearer token of the API key. Is unique.
createdAt
string
requiredThe date and time when the API key was created.