Deletes a mount target.

##Precautions

Use caution when you delete a mount target. After you delete a mount target, the mount target cannot be restored.

Debugging

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

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 174494b666

The ID of the file system.

MountTargetDomain String Yes 174494b666-xog95.cn-hangzhou.nas.aliyuncs.com

The public endpoint of the file system.

Response parameters

Parameter Type Example Description 
RequestId String 5BC5CB97-9F28-42FE-84A4-0CD0DF4211C8

The ID of the request.

Examples

Sample requests

GET https://nas.cn-hangzhou.aliyuncs.com/?Action=DeleteMountTarget
&FileSystemId=174494b666
&MountTargetDomain=174494b666-xog95.cn-hangzhou.nas.aliyuncs.com
&<Common request parameters>

Sample success responses

XML format

<DeleteMountTargetResponse>
    <RequestId>5BC5CB97-9F28-42FE-84A4-0CD0DF4211C8</RequestId>
</DeleteMountTargetResponse>

JSON format

{
  "RequestId": "5BC5CB97-9F28-42FE-84A4-0CD0DF4211C8"
}

Error codes

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