Created
August 20, 2014 21:26
-
-
Save shanaver/84830580db241d7b4c8c to your computer and use it in GitHub Desktop.
Accepta a shard image via the Rackspace v2 API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X PUT https://dfw.images.api.rackspacecloud.com/v2.0/images/$image_id/members/$account_two_id \ | |
-H "X-Auth-Token: $account_two_api_token" \ | |
-H "Content-Type: application/openstack-images-v2.1-json-patch" \ | |
-d '{"status": "accepted"}' \ | |
| python -m json.tool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment