account

create-authorisation-token

Create an authorisation OAuth token and OAuth consumer.

maas $PROFILE account create-authorisation-token [--help] [-d] [-k] [data ...]

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword “name”

Optional String. name of the token that will be generated.

Note: This command accepts JSON.

delete-authorisation-token

Delete an authorisation OAuth token and the related OAuth consumer.

maas $PROFILE account delete-authorisation-token [--help] [-d] [-k] [data ...]

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword “token_key”

Optional String. The key of the token to be deleted.

Note: This command accepts JSON.

list-authorisation-tokens

List authorisation tokens available to the currently logged-in user.

maas $PROFILE account list-authorisation-tokens [--help] [-d] [-k]

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

update-token-name

Modify the consumer name of an authorisation OAuth token.

maas $PROFILE account update-token-name [--help] [-d] [-k] [data ...]

Command-line options

Option

Effect

–help, -h

Show this help message and exit.

-d, –debug

Display more information about API responses.

-k, –insecure

Disable SSL certificate check.

Keywords

Keyword “token”

Optional String. Can be the whole token or only the token key.

Keyword “name”

Optional String. New name of the token.

Note: This command accepts JSON.