When calling certain APIs, you may need to specify the domain ID (DomainID) and user ID (UserID) in the request. To obtain them from the console, do as follows:
Log in to the console.
Click the username and select My Credentials from the drop-down list.
On the My Credentials page, view the domain ID and user ID.