Deletes a custom namespace.
Try it now
Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:DeleteNamespace |
get |
*NameSpace
|
None | None |
Request syntax
DELETE /pop/v5/user_region_def HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
No |
The unique ID of the custom namespace. Call ListUserDefineRegion to query the ID. |
2564 |
| RegionTag |
string |
No |
The tag of the custom namespace. |
regiontag |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| Code |
integer |
The HTTP status code. |
200 |
| Message |
string |
Additional information. |
success |
| RequestId |
string |
The request ID. |
1234-1sda-321d-**** |
| RegionDefine |
object |
The custom namespace. |
|
| BelongRegion |
string |
The region ID of the namespace. |
cn-beijing |
| RegionName |
string |
The namespace name. |
test_region |
| Description |
string |
The namespace description. |
logic region |
| UserId |
string |
The Alibaba Cloud account ID that owns the namespace. |
11727****22398 |
| Id |
integer |
The unique namespace identifier. |
8848 |
| RegionId |
string |
The namespace ID. This value is immutable after creation. Format: |
cn-beijing:test |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "1234-1sda-321d-****",
"RegionDefine": {
"BelongRegion": "cn-beijing",
"RegionName": "test_region",
"Description": "logic region",
"UserId": "11727****22398",
"Id": 8848,
"RegionId": "cn-beijing:test"
}
}
Error codes
See Error CodesError Codes for a complete list.
Release notes
See Release NotesRelease Notes for a complete list.