"SoftLayer_" prefix removed for readability.
Delete multiple files within a Storage account.
{{CloudLayerOnlyMethod}} Delete multiple files within a Storage account. Depending on the type of Storage account, Deleting either deletes files permanently or sends files to your account’s recycle bin.
Currently, Virtual Server storage is the only type of Storage account that sends files to a recycle bin when deleted. When called against a Virtual Server storage account , this method also determines if the files are in the account’s recycle bin. If the files exist in the recycle bin, then they are permanently deleted.
Please note, files can not be restored once they are permanently deleted.
Name | Type | Description |
---|---|---|
fileIds | string[] | The id or guids of the files you wish to delete. |
None
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage_Iscsi/{SoftLayer_Network_Storage_IscsiID}/deleteFiles'