Service accounts

Mint an additional token

Workspace owner only, max 5 tokens per service account (rotate by minting then revoking). The tf_ plaintext is returned ONCE and never again; store it.

post/workspaces/{workspaceId}/service-accounts/{id}/tokens

Request

  • Base URL: https://tasg.app/api/v1
  • URL: https://tasg.app/api/v1/workspaces/{workspaceId}/service-accounts/{id}/tokens
  • Auth: HTTP bearer

Path parameters

workspaceIdstring uuid required

Workspace id.

idstring uuid required

Service account id.

Request body

namestring
scopesTokenScope[]

Default ["read","write"].

Response

Minted.

Changes

No recorded changes to this operation across all 1 revision of this API.