You can call this operation to delete directories.


You cannot delete directories that are in use by cloud desktops.


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

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteDirectories

The operation that you want to perform. Set the value to DeleteDirectories.

RegionId String Yes cn-hangzhou

The ID of the region.

DirectoryId.N RepeatList Yes cn-hangzhou+dir-gx2x1dhsmu52rd****

The ID of directory N. You can specify one or more directory IDs.

Response parameters

Parameter Type Example Description
RequestId String 5CC5E450-FC43-4F5B-B540-9964BD313427

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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