"SoftLayer_" prefix removed for readability.
Restore access to an individual file in a Storage account.
{{CloudLayerOnlyMethod}} Restore an individual file so that it may be used as it was before it was deleted.
If a file is deleted from a Virtual Server Storage account, the file is placed into the account’s recycle bin and not permanently deleted. Therefore, restoreFile can be used to place the file back into your Virtual Server account’s root directory.
Name | Type | Description |
---|---|---|
fileId | string | The id or guid of the file you wish to restore. |
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}/restoreFile'