--- title: "list-buckets" slug: "cli-objectstorage-api-level-list-buckets" updated: 2026-10-08T09:50:32Z published: 2026-10-08T09:50:32Z canonical: "cli.ncloud-docs.com/cli-objectstorage-api-level-list-buckets" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # list-buckets Classic/VPC環境で利用できます。 ユーザーが所有するすべてのバケットリストを照会します。 ## 構文 `list-buckets`構文は次の通りです。 ``` aws s3api list-buckets \ --endpoint-url ``` ## オプション `list-buckets`の実行時に指定できるオプションについて説明します。 ### 共通オプション `aws`コマンドで共通して使用するオプションについては、[Object Storageのオプション](/docs/ja/guide-objectstorage#%EC%98%B5%EC%85%98)をご参照ください。 ## 例 バケットリストの照会リクエストが成功すると、各バケットの識別情報と所有者情報が返されます。 ### コマンド コマンドの例は次の通りです。 ``` aws s3api list-buckets \ --endpoint-url=https://kr.object.ncloudstorage.com ``` ### 出力 出力の例は次の通りです。 ``` { "Buckets": [ { "Name": "my-docs-bucket", "CreationDate": "2026-04-28T01:31:27.978Z" }, { "Name": "my-test-bucket", "CreationDate": "2026-08-19T02:36:46.957Z" } ], "Owner": { "DisplayName": "ncp-123456-0", "ID": "ncp-123456-0" }, "Prefix": null } ```