Updated on 2025-11-25 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. Navigate to the My Credentials page.
  2. On the displayed API Credentials page, view the IAM username and IAM user ID.
    Figure 1 API credentials