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
    updatedAt int64required
    createdAt int64required
    expiresAt int64
    description stringrequired
    id int64required
Loading...