Announcement Banner

erin1982_

updated

10 years ago

E

erin1982_

17 Posts

0

3640

October 2nd, 2016 18:00

XtremIO RestAPI version 4.0.2 build 80 Post command for snapshot creation not working

I am trying to create a snapshot of a consistency group in XtremIO using CURL. Unfortunately it fails stating it requires cluster-id even though I have mentioned cluster-name in the command. Can some one help me on what's going on wrong here?

XIO - version 4.0.2 build 80

curl -X POST -d '{"consistency-group-id":"Test_Group"}' -u *****:****** -k -s https://test.com/api/json/v2/tyes/snapshots?cluster-name="test"

{

    "message": "cluster_id_is_required",

    "error_code": 400

}

Please note - The CG was already created and it has multiple snapshot-sets already available.