Patch token

Description

Patch Codefresh token.

Update token name or scopes using token id. Id can be retrieved using “get” command.

Command

codefresh patch tokens <id>

Aliases

codefresh patch token <id>

Arguments

Option Alias Default Description
id token id. required

Options

Option Alias Type Default Description
--help Print help information
--name token name or ids
--scope -s token names or ids

Examples

Update token name

codefresh patch token [token_id] --name new-name

Set token scopes to “pipeline”, “project”

codefresh patch token [token_id] -s pipeline -s project