White Papers

Configuration details
44 Dell Storage Manager REST API Cookbook | 3089-WP-SAN
3.8 Recycle bin
This section discusses restoring a volume object from the recycle bin to its original parent folder in the
Volumes tree.
Recycle bin REST API calls used in this section
REST API
Method
/StorageCenter/ScVolumeFolder/<instanceId>/Restore
POST
3.8.1 Restore a volume from the recycle bin
# restore a volume object
payload = {}
REST = '/StorageCenter/ScVolume/%s/Restore' %
volList['RestTest_Vol_renamed']['instanceId']
completeURL = '%s%s' % (baseURL, REST if REST[0] != '/' else REST[1:])
json_data = connection.post(completeURL
,data=json.dumps(payload
,ensure_ascii=False).encode('utf-8')
,headers=header
,verify=verify_cert)
stdout = json.loads(json_data.text)
print stdout
STDOUT
{u'result': True}
3.9 Users
This section provides the REST API calls used to create, manage, and remove user accounts and objects on
an SC Series array.
User REST API calls used in this section
REST API
Method
/StorageCenter/ScUser
POST
/StorageCenter/ScUser/<instanceId>
PUT
DELETE
/StorageCenter/ScUser/<instanceId>/ResetPassword
POST
/StorageCenter/ScUser/<instanceId>/Unlock
POST
/StorageCenter/ScUser/Restore
POST