Skip to main content

Update API key

PUT 

/v2/api-keys/:apiKeyId

Update API key

Request

Path Parameters

    apiKeyId int64required

Body

required
    scopes string[]required
    description string

Responses

OK

Schema
    id int64required

    ID of the API key

    description stringrequired

    Description

    username string

    Username of user owner

    userFullName string

    Full name of user owner

    projectId int64required

    Api key's project ID

    projectName stringrequired

    Api key's project name

    expiresAt int64

    Timestamp of API key expiraion

    lastUsedAt int64

    Timestamp of API key last usage

    scopes string[]required

    Api key's permission scopes

Loading...