2021-12-21 14:23:59 -07:00
|
|
|
# doctl balance
|
|
|
|
|
|
|
|
> Show the balance of a Digital Ocean account.
|
|
|
|
> More information: <https://docs.digitalocean.com/reference/doctl/reference/balance/>.
|
|
|
|
|
|
|
|
- Get balance of the account associated with the current context:
|
|
|
|
|
2025-05-11 17:01:39 +03:00
|
|
|
`doctl balance {{[g|get]}}`
|
2021-12-21 14:23:59 -07:00
|
|
|
|
|
|
|
- Get the balance of an account associated with an access token:
|
|
|
|
|
2025-05-11 17:01:39 +03:00
|
|
|
`doctl balance {{[g|get]}} {{[-t|--access-token]}} {{access_token}}`
|
2021-12-21 14:23:59 -07:00
|
|
|
|
|
|
|
- Get the balance of an account associated with a specified context:
|
|
|
|
|
2025-05-11 17:01:39 +03:00
|
|
|
`doctl balance {{[g|get]}} --context`
|