Modifies a mount target.

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 ModifyMountTarget

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

FileSystemId String Yes 1ca404a666

The ID of the file system.

MountTargetDomain String Yes 1ca404a666-wxa89.cn-hangzhou.nas.aliyuncs.com

The public endpoint of the mount target.

AccessGroupName String No classic-test

The name of the permission group.

Status String No Inactive

The status of the mount target. Valid values: Active (enabled) and Inactive (disabled).

Response parameters

Parameter Type Example Description 
RequestId String FF387D95-34C4-4879-B65A-99D1FA1B65CD

The ID of the request.

Examples

Sample requests

GET https://nas.cn-hangzhou.aliyuncs.com/?Action=ModifyMountTarget
&FileSystemId=1ca404a666
&MountTargetDomain=1ca404a666
&Status=Inactive
&<Common request parameters>

Sample success responses

XML format

<ModifyMountTargetResponse>
    <RequestId>FF387D95-34C4-4879-B65A-99D1FA1B65CD</RequestId>
</ModifyMountTargetResponse>

JSON format

{
  "RequestId": "FF387D95-34C4-4879-B65A-99D1FA1B65CD"
}

Error codes

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