Forrest logo
back to the doctl tool

doctl-balance:tldr:9820a

doctl-balance: Get the balance of an account associated with a specified context.
$ doctl balance get --context
try on your machine

The command doctl balance get --context is used to fetch the balance information of your account in context with a specific DigitalOcean context.

  • doctl: This is the command-line client for DigitalOcean and allows you to manage your DigitalOcean resources using the command-line interface (CLI).
  • balance: This subcommand specifies that you want to retrieve the balance information.
  • get: This option is used to fetch the resource information.
  • --context: This option is used to specify the DigitalOcean context you want to retrieve the balance information for. A context typically represents an authentication token associated with a specific DigitalOcean account or project. By using different contexts, you can manage multiple DigitalOcean accounts or projects simultaneously.

By running this command, you will receive the balance details associated with the specified context, such as the current balance amount, currency, and other related information.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the doctl tool