Querying Region Details
Function
This API is used to query region details.
The API can be called using both the global endpoint and region-specific endpoints.
URI
GET /v3/regions/{region_id}
| 
        Parameter  | 
      
        Mandatory  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|---|
| 
        region_id  | 
      
        Yes  | 
      
        String  | 
      
        ID of the region to be queried. You can obtain a region ID by using the API described in Querying Regions or using the console.  | 
     
Request Parameters
| 
        Parameter  | 
      
        Mandatory  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|---|
| 
        Content-Type  | 
      
        Yes  | 
      
        String  | 
      
        Fill application/json;charset=utf8 in this field.  | 
     
| 
        X-Auth-Token  | 
      
        Yes  | 
      
        String  | 
      
        IAM user token (no special permission requirements).  | 
     
Response Parameters
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        Object  | 
      
        Region information.  | 
     
Example Request
Request for querying region details
GET https://iam.myhuaweicloud.eu/v3/regions/{region_id}
 Example Response
Status code: 200
The request is successful.
{
    "region": {
        "description": "",
        "links": {
            "self": "https://iam.myhuaweicloud.eu/v3/regions/la-south-2"
        },
        "type": "public",
        "id": "la-south-2",
        "locales": {
            "pt-br": "AL-Santiago",
            "zh-cn": "Region name in Chinese",
            "en-us": "LA-Santiago",
            "es-us": "AL-Santiago de Chile1",
            "es-es": "LA-Santiago"
        }
    }
}
 Status Codes
| 
        Status Code  | 
      
        Description  | 
     
|---|---|
| 
        200  | 
      
        The request is successful.  | 
     
| 
        400  | 
      
        Invalid parameters.  | 
     
| 
        401  | 
      
        Authentication failed.  | 
     
| 
        403  | 
      
        Access denied.  | 
     
| 
        404  | 
      
        The requested resource cannot be found.  | 
     
| 
        405  | 
      
        The method specified in the request is not allowed for the requested resource.  | 
     
| 
        413  | 
      
        The request entity is too large.  | 
     
| 
        500  | 
      
        Internal server error.  | 
     
| 
        503  | 
      
        Service unavailable.  | 
     
Error Codes
None
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.