Deletes a specified custom namespace.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only the common request header. For more information, see Common request parameters.

Request syntax

DELETE /pop/v5/user_region_def HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
Id Long Yes 2564

The unique ID of the custom namespace. You can call the ListUserDefineRegion operation to query the ID. For more information, see ListUserDefineRegion.

RegionTag String No regiontag

The tag of the custom namespace.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

Message String success

The returned message.

RegionDefine Struct

The information about the custom namespace.

BelongRegion String cn-beijing

The ID of the region to which the custom namespace belongs.

Description String logic region

The description of the custom namespace.

Id Long 8848

The unique ID of the custom namespace. The unique ID is generated by Enterprise Distributed Application Service (EDAS).

RegionId String cn-beijing:test

The ID of the custom namespace. The ID cannot be changed after the namespace is created. The format is region ID: namespace identifier.

RegionName String test_region

The name of the custom namespace.

UserId String 11727****22398

The ID of the Alibaba Cloud account to which the custom namespace belongs.

RequestId String 1234-1sda-321d-1234

The ID of the request.

Examples

Sample requests

DELETE /pop/v5/user_region_def HTTP/1.1
Common request header
{
  "Id": 2564
}

Sample success responses

XML format

<RegionDefine>
    <Description>test</Description>
    <RegionName>test_region</RegionName>
    <BelongRegion>cn-beijing</BelongRegion>
    <RegionId>cn-beijing:test</RegionId>
    <Id>8683</Id>
    <UserId>edas_****_test@aliyun-****.com</UserId>
</RegionDefine>
<Message>success</Message>
<Code>200</Code>

JSON format

{
	"RegionDefine": {
		"Description": "test",
		"RegionName": "test_region",
		"BelongRegion": "cn-beijing",
		"RegionId": "cn-beijing:test",
		"Id": 8683,
		"UserId": "edas_****_test@aliyun-****.com"
	},
	"Message": "success",
	"Code": 200
}

Error codes

For a list of error codes, visit the API Error Center.