Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. ListAccessTokensResponse

ListAccessTokensResponse

    ListAccessTokensResponse is the shape of the response when listing access tokens for a user.

    Properties

    • tokens array[AccessToken] required
      The list of access tokens
    • id string required
      Unique identifier for this access token.
    • name string required
      Human-readable name assigned to this access token.
    • description string required
      User-provided description of the token’s purpose.
    • created string required
      Timestamp when the token was created, in ISO 8601 format.
    • lastUsed integer required
      Unix epoch timestamp (seconds) when the token was last used. Zero if never used.
    • expires integer required
      Unix epoch timestamp (seconds) when the token expires. Zero if it never expires.
    • admin boolean required
      Whether this token has Pulumi Cloud admin privileges.
    • createdBy string required
      User.GitHubLogin of the user that created the access token
    • role AccessTokenRole optional
      Role associated with the token, if applicable
    • type enum optional
      The token’s kind.
      Values: personal, refresh, organization, team

      The infrastructure as code platform for any cloud.