アカウントIDによるアカウントロケーションデータの取得

この例では、物理的な位置の取得に account_id.これを使用して、アカウント名、ステータス、住所など、アカウントの詳細を取得できます。

サンプルコード内の以下のプレースホルダーの値を置き換えてください:

キー 説明
bearer_token OAuth トークン。 OAuthトークンについてもっと読む
account_id Vonage Business CommunicationsのアカウントID。
curl --location --request GET 'https://api.vonage.com/t/vbc.prod/provisioning/v1/api/accounts/$account_id/locations' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer $bearer_token' \