The request below configures a drive. You can use this request to assign a specified drive as a spare drive and to release the assignment of a specified drive.
Note:
You can use this API function for VSP E series, VSP G350, G370, G700, G900, VSP F350, F370, F700, F900.
Execution permission
Storage Administrator (Provisioning)
Request line
PATCH base-URL/v1/objects/drives/object-ID
Request message
Response message
Status codes
For details on the status codes of the request for this operation, see the description of HTTP status codes.
Action template
None.
Coding example
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X PATCH --data-binary @./InputParameters.json https://192.0.2.100/ConfigurationManager/v1/objects/drives/0-0