Administration commands

Common Administration tasks

Here are some common tasks to manage Administration operations using the Linode CLI.

View your account

Run this command to view specific details on your Akamai Cloud account.

linode-cli account view

View your settings

Run this command to view setting that have been applied to your account:

linode-cli account settings

Make a payment

Run this command and set a desired amount to make a payment:

linode-cli account payment-create --cvv 123 --usd 20.00

View notifications

Run this command to view any current notifications on your account:

linode-cli account notifications-list

View a list of events

This command reveals all events on your account:

linode-cli events list

View a specific event

This command reveals details about a specific event:

linode-cli events view $event_id

Acknowledge an event

This command marks a specific event as "seen."

linode-cli events mark-seen $event_id

Manage multiple accounts

The Linode CLI can be configured to run commands from multiple users on separate accounts. This lets you control multiple accounts, all through the same system, using the Linode CLI. Once multiple users are configured, you can execute commands as a particular user or set a specific user as the default.

Configure an additional user

To manage another account, you must configure the Linode CLI with a user on that account. This is accomplished by re-running the Linode CLI configuration utility (see Configure the Linode CLI).

linode-cli configure

View users

To see which users have already been configured on the Linode CLI, run the following command:

linode-cli show-users

This outputs a list containing the usernames of each user. An asterisks (*) marks the user that is currently active (the default user).

Configured Users:
*  example-user
   another-user

Change the default user

The default user is used when running Linode CLI commands. Run the following command to change the default user, replacing [username] with the name of the user you wish to use.

linode-cli set-user [username]

Run a command as a different user

You can run a Linode CLI command as a specific user without needing to change the default user. This is helpful if you need to run a one-off command on a different account. In the command below, replace [username] with the name of the user you wish to use.

linode-cli set-user --as-user [username]

Remove a user from the Linode CLI

If you no longer wish to manage a particular user or account from the Linode CLI, you can remove that user. In the command below, replace [username] with the name of the user you wish to remove.

📘

This does not delete the user on Akamai Cloud. It only removes the user from the Linode CLI so you can no longer execute commands as that user.

linode-cli remove-user [username]

There's more

Many other actions are available:

  • Use linode-cli account --help for a complete list.