Skip to main content

Regenerates API key. It generates new API key value and updates its time of expiration.

PUT 

/v2/api-keys/:apiKeyId/regenerate

Regenerates API key. It generates new API key value and updates its time of expiration.

Request

Path Parameters

    apiKeyId int64required

Body

required
    expiresAt int64

    Expiration date in epoch format (milliseconds). When null key never expires.

Responses

OK

Schema
    key stringrequired

    Resulting user's api key

    userFullName string
    projectName stringrequired
    lastUsedAt int64
    scopes string[]required
    projectId int64required
    expiresAt int64
    username string
    description stringrequired
    id int64required
Loading...