Deletes a mount target.
Description
After you delete a mount target, the mount target cannot be restored. Proceed with caution.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DeleteMountTarget |
The operation that you want to perform. Set the value to DeleteMountTarget. |
| FileSystemId | String | Yes | 174494**** |
The ID of the file system.
|
| MountTargetDomain | String | Yes | 174494b666-x****.cn-hangzhou.nas.aliyuncs.com |
The mount target. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 5BC5CB97-9F28-42FE-84A4-0CD0DF42**** |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteMountTarget
&FileSystemId=174494****
&MountTargetDomain=174494b666-x****.cn-hangzhou.nas.aliyuncs.com
Common request parameters
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteMountTargetResponse>
<RequestId>5BC5CB97-9F28-42FE-84A4-0CD0DF42****</RequestId>
</DeleteMountTargetResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "5BC5CB97-9F28-42FE-84A4-0CD0DF42****"
}
Error codes
For a list of error codes, visit the API Error Center.