Skip to main content

Crete API key

POST 

/v2/api-keys

Creates new API key with provided scopes

Request

Body

required
    projectId int64required

    Possible values: >= 1

    scopes string[]required
    description string

    Description of the project API key

    expiresAt int64

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

Responses

OK

Schema
    key stringrequired

    Resulting user's api key

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