Help Center/ Cloud Firewall/ API Reference/ Appendix/ Obtaining the Names and IDs of Accounts, IAM Users, Projects, User Groups, Regions, and Agencies
Updated on 2026-07-24 GMT+08:00

Obtaining the Names and IDs of Accounts, IAM Users, Projects, User Groups, Regions, and Agencies

Obtaining Account, IAM User, and Project Information

  • Using the console
    1. On the Huawei Cloud homepage, click Console in the upper right corner.
    2. Hover over the username in the upper right corner and choose My Credentials.
      Figure 1 My Credentials
    3. View the account name, account ID, username, user ID, project name, and project ID on the API Credentials page.
      The project ID varies depending on the region where the service is located.
      Figure 2 Viewing the account, user, and project information
  • Calling an API

Obtaining User Group Information

  1. Log in to the IAM console, and choose User Groups from the navigation pane.
  2. Click the name of the target user group. On the displayed details page, check the user group name and ID.

    Figure 3 Viewing the user group name and ID

Obtaining Region Information

  1. Log in to the IAM console, and choose Projects from the navigation pane.
  2. View the content in the Project Name column, which is the ID of the region to which the project belongs.

    Figure 4 Viewing the region ID

Obtaining Agency Information

  1. Log in to the IAM console, and choose Agencies from the navigation pane.
  2. Hover the cursor over the target agency. Its name and ID are displayed.

    Figure 5 Viewing the agency ID