Help Center> FunctionGraph> API Reference> Appendix> Obtaining Account, IAM User, Project, User Group, Region, and Agency Information
Updated on 2022-12-30 GMT+08:00

Obtaining Account, IAM User, Project, User Group, Region, and Agency Information

Obtaining Account, IAM User, and Project Information

  • Using the console

    Your username, user ID, account name, account ID, project name, and project ID need to be specified in the URL and request body for calling certain APIs. Obtain these parameters on the My Credentials page.

    1. Log in to Huawei Cloud management console.
    2. Hover over the username and choose My Credentials from the drop-down list.
    3. View the account name, account ID, username, user ID, project name, and project ID on the API Credentials page.
      Figure 1 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 in the navigation pane.
  2. Click next to the target user group to view its name and ID.

Obtaining Region Information

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

Obtaining Agency Information

  1. Log in to the IAM console, and choose Agencies in the navigation pane.
  2. Hover over the desired agency. The name and ID of this agency are displayed in a dark pop-up box.
    Figure 2 Viewing an agency ID