Updated on 2023-12-15 GMT+08:00

Obtaining the Username and User ID

Scenarios

When calling APIs, you need to fill in your domain name and domain ID in certain URLs. To do so, you need to obtain domain name and domain ID on the console first. For details, see Procedure.

Procedure

  1. Log in to the management console.
  2. Hover the mouse pointer over the username in the upper right corner and choose My Credentials from the drop-down list.

    On the displayed API Credentials page, view the IAM username and IAM user ID.

    Figure 1 API credentials