removeCredential


SoftLayer_Network_Storage::removeCredential

This method will remove a credential from the current volume.

Description

This method will remove a credential from the current volume. The credential must have been created using the ‘addNewCredential’ method.

Parameters

Name Type Description
username string A username assigned to the current storage volume

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Error Handling

  • “Problem removing a credential from the volume. The network storage type is not supported for credential removal in this manner.”
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage/{SoftLayer_Network_StorageID}/removeCredential'