Skip to main content

DeleteNamespace

Description

The call DeleteNamespace deletes an existing namespace. Note that this operation will delete all warehouses existing in the namespace and all images under the warehouses.

Request Method

POST

Request Path

/apsara/route/cr/DeleteNamespace

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api
NamespaceBODYstringYesNo sample value for this parameter.namespace name, with a length limit of 2 to 30. lowercase letters, numbers, middle scores (-), and underscores (_) are supported (cannot start with middle scores or underscores).

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}