Skip to main content

Regenerate PAK

PUT 

/v2/pats/:id/regenerate

Regenerates Personal Access Token. It generates new token value and updates its time of expiration.

Request

Path Parameters

    id int64required

Body

required
    expiresAt int64

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

Responses

OK

Schema
    token stringrequired
    lastUsedAt int64
    expiresAt int64
    createdAt int64required
    updatedAt int64required
    description stringrequired
    id int64required
Loading...