2 min • read

Token

This reference provides a list of commands, arguments, and flags you can use to work with tokens in Blackbird.

blackbird token create

Creates a headless token to use in Blackbird. If the user belongs to multiple organizations, the token is created in the active organization.

Required arguments

name

The name you want to use for the token you're creating.

Examples

The following example creates a token named "ci-token".

blackbird token list

Lists the name of the token matching the provided token name, if it exists. If a name isn't provided, all tokens display.

Optional arguments

token name

The name of the token, if it exists.

Examples

The following example returns a list of all token names.

This example returns the name of the token named "ci-token", if it exists.

blackbird token delete

Deletes a token.

Required arguments

token name

The name of the token you want to delete.

Examples

The following example deletes the token named "ci-token".