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.

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

The domain name of 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

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

JSON format

{
    "DeleteMountTargetResponse": {
        "RequestId": "5BC5CB97-9F28-42FE-84A4-0CD0DF42****"
    }
}

Error codes

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