Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Personal Access Token

This endpoint is used to create, update, search or delete organizations information inside Terrakube.

Entity fields:

Path
Type
Description

days

string

Numbere of days for the token to be valid

description

string

Some sample description for the token

Example:

{
    "days": 7,
    "description": "Sample Personal Access Token"
}

Supported Operations

POST /api/v1

Request Body

Name
Type
Description

days*

int

Number of days

description*

String

Token description

GET /pat/v1

Get all the personal access token generated by the user

DELETE /pat/v1/{tokenId}

Token security in 2.34.0

Creation requires a Dex user session by default; bearer PATs can mint child tokens only when the administrator explicitly enables TokenAllowPatIssuance, with bounded child lifetimes. Team/federated tokens cannot mint tokens. See Token Security for issuance limits, revocation and team-token deletion authorization.

Last updated

Was this helpful?