...
In the following cURL, the base_url
is the URL of the Abiquo API server, without the /api
path. For example, https://abiquo.example.com
.
We recommend that you use double quotation marks around all the parameters, including the file parameters for diskInfo and diskFile.
Code Block |
---|
curl -v -k -X POST '{base_url}/am/erepos/1/templates/1/bundle/e05785d2-b49a-4034-9bb9-3440e1693589-4ba3b6e1-6f06-47d9-8703-9e9' \ -H 'Authorization: Token {api_token}' \ -F "diskInfo=@diskReplace.json" -F "diskFile=@newdisk.vmdk" |
...