Files
cheatsheet-tldr/tldr/doctl-balance
2025-05-12 00:21:19 +00:00

22 lines
586 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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:
`doctl balance {{[g|get]}}`
- Get the balance of an account associated with an access token:
`doctl balance {{[g|get]}} {{[-t|--access-token]}} {{access_token}}`
- Get the balance of an account associated with a specified context:
`doctl balance {{[g|get]}} --context`