Skip to main content
POST
Update an existing API key for the authenticated user

Authorizations

Authorization
string
header
required

Rocksky bearer token.

Body

application/json
id
string
required

The ID of the API key to update.

name
string
required

The new name of the API key.

description
string

A new description for the API key.

Response

Success

id
string

The unique identifier of the API key.

name
string

The name of the API key.

description
string

A description for the API key.

createdAt
string<date-time>

The date and time when the API key was created.