Skip to content

Tsuru token update

tsuru token update

Creates a new API token associated to a team.

Synopsis

Creates a new API token associated to a team.

tsuru token update <token-id> [--regenerate] [--description/-d description] [--expires/-e expiration] [flags]

Options

  -d, --description string   A description on how the token will be used.
  -e, --expires duration     The expiration for the token being updated. A duration suffix is mandatory ('s' for seconds, 'm' for minutes, 'h' for hours, ...). Setting to 0 or unset means the previous value will be used. Setting to a negative value will remove any existing expiration.
      --regenerate           Setting regenerate will change de value of the token, invalidating the previous value.
  -h, --help                 help for update

Options inherited from parent commands

      --target string   Tsuru server endpoint
      --verbosity int   Verbosity level: 1 => print HTTP requests; 2 => print HTTP requests/responses

SEE ALSO

  • tsuru token - Manage team tokens used to authenticate automations through Tsuru.
Auto generated by spf13/cobra on 16-Jan-2026