Bulk_set_dedupe
POST v1/volumes/actions/bulk_set_dedupe
Description
Enable or disable dedupe on a list of volumes. If the volumes are not dedupe capable, the operation will fail for the specified volume.
Normal Response Codes
200
HTTP Error Codes
400 401 403 404 409 500 501 503
Request
| Parameter | Type | JSON Type | Description | Mandatory |
|---|---|---|---|---|
| vol_ids | NsObjectIDList | Array of NsObjectID | IDs of the volumes to enable/disable dedupe. A list of object ids. | true |
| dedupe_enabled | NsBoolean | boolean | Dedupe property to be applied to the list of volumes. Possible values: 'true', 'false'. | true |
JSON Request
{
"data" : {
"dedupe_enabled" : "true",
"vol_ids" : [
"0600000000000004d3000000000000000000000005",
"0600000000000004d3000000000000000000000006"
]
}
}
Response
Type:
JSON Response
All child requests succeed.
{}
Some child requests failed.
{
"messages":[
{"code":"SM_http_conflict","severity":"error","text":"The request could not be completed due to a conflict."},
{"code":"SM_epartial","severity":"error","text":"Operation is partially completed."}
],
"detailed_messages":{
"0600000000000004d3000000000000000000000005":{
"messages":[
{"code":"SM_ealready","severity":"error","text":"Object is already in requested state."}
]
},
"0600000000000004d3000000000000000000000006":{
"data":{"name":"v2"}
}
}
}
