---
title: account
description: Canonical makes open source secure, reliable and easy to use, providing
  support for Ubuntu and a portfolio of enterprise-grade technologies. Founded in
  2004, Canonical operates globally with team members in over 80 countries.
url: https://canonical-com-2934.demos.haus/maas/docs/account?format=md
---

*Submit*

# account

Enter keyword arguments in the form `key=value`.

## [Create an authorisation token](https://canonical-com-2934.demos.haus/maas/docs/account?format=md#p-5394-create-an-authorisation-token)

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

Create an authorisation OAuth token and OAuth consumer.

#### Keyword “name”

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

#### 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 |

## [Delete an authorisation token](https://canonical-com-2934.demos.haus/maas/docs/account?format=md#p-5394-delete-an-authorisation-token)

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

Delete an authorisation OAuth token and the related OAuth consumer.

#### Keyword “token\_key”

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

#### 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 |

## [List authorisation tokens](https://canonical-com-2934.demos.haus/maas/docs/account?format=md#p-5394-list-authorisation-tokens)

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

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

#### 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 |

## [Modify authorisation token](https://canonical-com-2934.demos.haus/maas/docs/account?format=md#p-5394-modify-authorisation-token)

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

Modify the consumer name of an authorisation OAuth token.

#### Keyword “token”

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

#### Keyword “name”

Required String. New name of the token.

#### 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 |

---

[Previous

API reference:
API reference](https://canonical-com-2934.demos.haus/maas/docs/api)
[Next

apikey](https://canonical-com-2934.demos.haus/maas/docs/apikey)

Last updated 1 year, 6 months ago. [Help improve this document in the forum](https://discourse.maas.io/t/account/3205).
