Help Center/ Enterprise Management/ API Reference/ Appendix/ Obtaining the Domain-Level Token
Updated on 2022-09-15 GMT+08:00

Obtaining the Domain-Level Token

POST https://iam.eu-west-101.myhuaweicloud.com/v3/auth/tokens
Content-Type: application/json

{
    "auth": {
        "identity": {
            "methods": [
                "password"
            ],
            "password": {
                "user": {
                    "name": "username",
                    "password": "********",
                    "domain": {
                        "name": "domainname"
                    }
                }
            }
        },
        "scope": {
            "domain": {
                "id": "xxxxxxxxxxxxxxxxxx"
            }
        }
    }
}