removeAccessFromHost


SoftLayer_Network_Storage::removeAccessFromHost

Remove access to this volume from a specified [[SoftLayer_Hardware|SoftLayer_Virtual_Guest|SoftLayer_Network_Subnet|SoftLayer_Network_Subnet_IpAddress]] object.

Description

This method is used to modify the access control list for this Storage volume. The [[SoftLayer_Hardware|SoftLayer_Virtual_Guest|SoftLayer_Network_Subnet|SoftLayer_Network_Subnet_IpAddress]] objects which have been allowed access to this storage will be listed in the [[allowedHardware|allowedVirtualGuests|allowedSubnets|allowedIpAddresses]] property of this storage volume.

Parameters

Name Type Description
typeClassName string The type of class name, among: ‘SoftLayer_Hardware’, ‘SoftLayer_Virtual_Guest’, ‘SoftLayer_Network_Subnet’, ‘SoftLayer_Network_Subnet_IpAddress’.
hostId int

Required Headers

Optional Headers

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage/{SoftLayer_Network_StorageID}/removeAccessFromHost'