Users
AccessTokens
CreatePersonalToken
Creates a new personal access token for the authenticated user. The request body includes a description for the token and an optional expiration time. The response includes the token ID and the tokenValue (prefixed with 'pul-'). The token value is only returned once at creation time and cannot be retrieved later.
post/api/user/tokens
Request
- Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
- URL: https://api.pulumi.com/api/user/tokens
- Auth: none declared
Query parameters
reasonstring
Tracks the context that triggered token creation (e.g., redirect URL or referral source)
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.