Skip to main content
PUT
Rename an API key

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
required
Required string length: 1 - 64

Response

200 - application/json

Updated key

id
string<uuid>
name
string
keyPreview
string
createdAt
string<date-time> | null
lastUsedAt
string<date-time> | null
expiresAt
string<date-time> | null
revokedAt
string<date-time> | null
state
enum<string>
Available options:
active,
expired,
revoked