# How to list Object Storage buckets

import Tabs from '~/components/tabs/Tabs'
import DocButton from '~/components/webkit/DocButton.vue';

This guide will show you how to list all the buckets in your account using the Azion API, Azion CLI, and the Console.

<Tabs client:visible>
    <Fragment slot="tab.cli">CLI</Fragment>
    <Fragment slot="tab.api">API</Fragment>
    <Fragment slot="tab.console">Console</Fragment>

<Fragment slot="panel.cli">

## Requirements 

- [Azion CLI installed](/en/documentation/products/azion-cli/overview/#installing-azion-cli). 
- [A personal token configured](/en/documentation/devtools/cli/globals/#token).

To list the buckets related to your account: 

```bash 
azion list edge-storage bucket
```

</Fragment>

<Fragment slot="panel.api">
1. Run the following `GET` request in your terminal, replacing `[TOKEN VALUE]` with your [personal token](/en/documentation/products/guides/personal-tokens/) and retrieve the list of buckets in your account:

```bash 
curl --location 'https://api.azion.com/v4/storage/buckets' \
--header 'Accept: application/json' \
--header 'Authorization: Token [TOKEN VALUE]'
```

<DocButton href="https://api.azion.com/#565230b1-5f75-49e5-b025-0dc9e271883d" label="Go to Azion API documentation" kind="secondary" target="_blank" size="medium" />

</Fragment>

<Fragment slot="panel.console">
1. Access the [Azion Console](https://console.azion.com/object-storage).
2. Navigate to the **Store > Object Storage** menu.
3. On the **Object Storage** page, you will see a list of all buckets created in your account.

</Fragment>

</Tabs>