Deletes a mount target.

Description

After you delete a mount target, the mount target cannot be restored. Proceed with caution.

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

The ID of the file system.

  • Sample ID of a General-purpose NAS file system: 31a8e4****.
  • The IDs of Extreme NAS file systems must start with extreme-. Example: extreme-0015****.
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.