Skip to main content

DeleteRepo

Description

call DeleteRepo to delete an existing warehouse. note that this operation will delete all images existing in the warehouse.

Request Method

POST

Request Path

/apsara/route/cr/DeleteRepo

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
RepoNamespaceBODYstringYesNo sample value for this parameter.the namespace name of the warehouse to be deleted. The length limit is 2 to 30. You can use lowercase letters, digits, dashes (-), and underscores (_). You cannot start with a dash or underscore.
regionIdBODYstringYesNo sample value for this parameter.region id
RepoNameBODYstringYesNo sample value for this parameter.the warehouse name of the warehouse to be deleted. The length limit is 1 to 64. You can use lowercase letters, digits, dashes (-), and underscores (_). You cannot start with a dash or underscore.
versionBODYstringNo2016-01-01version of api

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
}

}