You can call this operation to delete a logical region.
Description
Debugging
Request headers
This operation only uses common request headers. For more information, see the Common request parameters topic.
Request syntax
DELETE /pop/v5/user_region_def HTTPS|HTTP
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Id | Long | Yes | 2564 |
The ID of the logical region that you want to delete. |
RegionTag | String | No | regiontag |
The tag for the logical region that you want to delete. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | Integer | 200 |
The returned code. |
Message | String | success |
The returned message. |
RequestId | String | 1234-1sda-321d-1234 | |
RegionDefine | Struct |
The data pattern of the logical region that was deleted. |
|
Id | Long | 8848 |
The ID of the logical region in Enterprise Distributed Application Service (EDAS). |
UserId | String | 11727****22398 |
The primary account of the user who created the logical region. |
RegionId | String | cn-beijing:jianweitest |
The ID of the logical region. The value is in the format of Physical region ID: Logical region name. Note: The ID of the logical region cannot be changed after being created. |
RegionName | String | jianwei_test_region |
The name of the logical region. |
Description | String | logic region |
The description about the logical region. |
BelongRegion | String | cn-beijing |
The ID of the physical region to which the logical region belongs. |
Examples
Sample requests
DELETE /pop/v5/user_region_def HTTP/1.1
Common request headers
{
"Id": 2564
}
Sample success responses
JSON
format
{
"RegionDefine": {
"Description": "Logical region",
"RegionName": "jianwei_test_region",
"BelongRegion": "cn-beijing",
"RegionId": "cn-beijing:jianweitest",
"Id": 8683,
"UserId": "edas_common_test@aliyun-inner.com"
},
"Message": "success",
"Code": 200
}
XML
format
<RegionDefine>
<Description>Logical region</Description>
<RegionName>jianwei_test_region</RegionName>
<BelongRegion>cn-beijing</BelongRegion>
<RegionId>cn-beijing:jianweitest</RegionId>
<Id>8683</Id>
<UserId>edas_common_test@aliyun-inner.com</UserId>
</RegionDefine>
<Message>success</Message>
<Code>200</Code>
Error codes
For a list of error codes, visit the API Error Center.