是否有 IBM Cloud API 调用来检索帐户名?
Is there an IBM Cloud API call to retreive the account name?
帐户设置页面(管理 > 帐户 > 帐户设置)在“帐户”标题下列出了帐户 ID 和帐户名称。使用 API 很容易检索帐户 ID,但我还没有找到获取帐户名称的方法。是否可以使用 API?
我一直在查看 IBM Cloud API Docs and at the Softlayer API docs,但未能找到 returns 帐户名。
ibmcloud CLI returns 信息,但我宁愿不必使用 CLI,因为它将在 Python 应用程序中使用。
你总是可以use IBMCLOUD_TRACE=true
on the CLI to find out what the ibmcloud
command is doing. What you see as "account name" is the ID resolved by going to the user management API。
帐户设置页面(管理 > 帐户 > 帐户设置)在“帐户”标题下列出了帐户 ID 和帐户名称。使用 API 很容易检索帐户 ID,但我还没有找到获取帐户名称的方法。是否可以使用 API?
我一直在查看 IBM Cloud API Docs and at the Softlayer API docs,但未能找到 returns 帐户名。
ibmcloud CLI returns 信息,但我宁愿不必使用 CLI,因为它将在 Python 应用程序中使用。
你总是可以use IBMCLOUD_TRACE=true
on the CLI to find out what the ibmcloud
command is doing. What you see as "account name" is the ID resolved by going to the user management API。