MENU
      removeNasVolumeAccessControl

        removeNasVolumeAccessControl


        Article summary

        Available in Classic

        Remove the access control set on the NAS volume instance using the server instance number.

        Note

        The set access control rules can be viewed through the getNasVolumeAccessControlRuleList action.

        Requests

        The following describes the request format for the endpoint. The request format is as follows.

        MethodURI
        GET, POST/removeNasVolumeAccessControl

        Request headers

        For headers common to all NAS APIs, see NAS common headers.

        Request query parameters

        The following describes the parameters.

        FieldTypeRequiredDescription
        nasVolumeInstanceNoStringRequiredNumber of the NAS volume instance for which you want to remove access control
        • Check through the getNasVolumeInstanceList action
        • Only NAS volume instances with volume allocation protocol type of NFS can be set to access control
        serverInstanceNoList.NList<String>RequiredList of server instance numbers to remove from access control
        • Check through the getServerInstanceList action
        • Only either serverInstanceNo or customIp can be entered in a single rule
        • <Example> serverInstanceNoList.1=1234&serverInstanceNoList.2=2345
        customIpList.NList<String>ConditionalList of custom IPs to remove from access control
        • Check through the getServerInstanceList action
        • Public IPs can't be set; only private IPs can be set
        • Only either serverInstanceNo or customIp can be entered in a single rule
        • <Example> customIpList.1=10.41.0.56&customIpList.2=10.41.3.81

        Request example

        The following is a sample request.

        curl --location --request GET 'https://ncloud.apigw.ntruss.com/server/v2/removeNasVolumeAccessControl?nasVolumeInstanceNo=23420000&serverInstanceNoList=23500000' \
        --header 'x-ncp-apigw-timestamp: {Timestamp}' \
        --header 'x-ncp-iam-access-key: {Sub Account Access Key}' \
        --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
        Curl

        Responses

        The following describes the response format.

        Response body

        See NasVolumeInstance for the response body.

        Response status codes

        For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

        Response example

        The following is a sample response.

        {
            "removeNasVolumeAccessControlResponse": {
                "totalRows": 1,
                "nasVolumeInstanceList": [
                    {
                        "nasVolumeInstanceNo": "23420000",
                        "nasVolumeInstanceStatus": {
                            "code": "CREAT",
                            "codeName": "NAS create"
                        },
                        "nasVolumeInstanceOperation": {
                            "code": "NULL",
                            "codeName": "NAS NULL OP"
                        },
                        "nasVolumeInstanceStatusName": "created",
                        "createDate": "2024-04-04T14:42:56+0900",
                        "nasVolumeDescription": "",
                        "mountInformation": "10.250.00.00:/n2768364_volume01",
                        "volumeAllotmentProtocolType": {
                            "code": "NFS",
                            "codeName": "NFS"
                        },
                        "volumeName": "n2768364_volume01",
                        "volumeTotalSize": 536870912000,
                        "volumeSize": 536870912000,
                        "snapshotVolumeConfigurationRatio": 0.0,
                        "snapshotVolumeSize": 0,
                        "isSnapshotConfiguration": false,
                        "isEventConfiguration": false,
                        "region": {
                            "regionNo": "1",
                            "regionCode": "KR",
                            "regionName": "Korea"
                        },
                        "zone": {
                            "zoneNo": "3",
                            "zoneName": "KR-2",
                            "zoneCode": "KR-2",
                            "zoneDescription": "Pyeongchon zone",
                            "regionNo": "1"
                        },
                        "isReturnProtection": false,
                        "nasVolumeInstanceCustomIpList": [],
                        "nasVolumeServerInstanceList": [
                            {
                                "serverInstanceNo": "23500000",
                                "serverName": "s18ebb8dc985",
                                "serverDescription": "",
                                "cpuCount": 2,
                                "memorySize": 4294967296,
                                "baseBlockStorageSize": 53687091200,
                                "platformType": {
                                    "code": "LNX64",
                                    "codeName": "Linux 64 Bit"
                                },
                                "loginKeyName": "a123",
                                "isFeeChargingMonitoring": false,
                                "publicIp": "",
                                "privateIp": "10.41.000.000",
                                "serverImageName": "centos-7.3-64",
                                "serverInstanceStatus": {
                                    "code": "RUN",
                                    "codeName": "Server run state"
                                },
                                "serverInstanceOperation": {
                                    "code": "NULL",
                                    "codeName": "Server NULL OP"
                                },
                                "serverInstanceStatusName": "running",
                                "createDate": "2024-04-08T11:33:37+0900",
                                "uptime": "2024-04-08T11:38:25+0900",
                                "serverImageProductCode": "SPSW0LINUX000046",
                                "serverProductCode": "SPSVRSSD00000003",
                                "isProtectServerTermination": false,
                                "portForwardingPublicIp": "106.10.00.00",
                                "zone": {
                                    "zoneNo": "3",
                                    "zoneName": "KR-2",
                                    "zoneCode": "KR-2",
                                    "zoneDescription": "Pyeongchon zone",
                                    "regionNo": "1"
                                },
                                "region": {
                                    "regionNo": "1",
                                    "regionCode": "KR",
                                    "regionName": "Korea"
                                },
                                "baseBlockStorageDiskType": {
                                    "code": "NET",
                                    "codeName": "Network Storage"
                                },
                                "baseBlockStorageDiskDetailType": {
                                    "code": "SSD",
                                    "codeName": "SSD"
                                },
                                "serverInstanceType": {
                                    "code": "STAND",
                                    "codeName": "Standard"
                                },
                                "userData": "",
                                "initScriptNo": "",
                                "accessControlGroupList": [
                                    {
                                        "accessControlGroupConfigurationNo": "572000",
                                        "accessControlGroupName": "ncloud-default-acg",
                                        "accessControlGroupDescription": "Default AccessControlGroup",
                                        "isDefault": true,
                                        "createDate": "2021-12-13T10:55:06+0900"
                                    }
                                ],
                                "instanceTagList": []
                            }
                        ]
                    }
                ],
                "requestId": "",
                "returnCode": "0",
                "returnMessage": "success"
            }
        }
        JSON

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.