2025-03-14 21:59:59 -06: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-06-28 19:25:29 -06:00
|
|
|
`doctl balance {{[g|get]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Get the balance of an account associated with an access token:
|
|
|
|
|
|
2025-06-28 19:25:29 -06:00
|
|
|
`doctl balance {{[g|get]}} {{[-t|--access-token]}} {{access_token}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Get the balance of an account associated with a specified context:
|
|
|
|
|
|
2025-06-28 19:25:29 -06:00
|
|
|
`doctl balance {{[g|get]}} --context`
|