cURL
curl --request POST \ --url https://api.gcore.com/cloud/v1/snapshots/{project_id}/{region_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "description": "Snapshot description", "name": "my-snapshot", "tags": { "my-tag": "my-tag-value" }, "volume_id": "67baa7d1-08ea-4fc5-bef2-6b2465b7d227" }'
{ "tasks": [ "d478ae29-dedc-4869-82f0-96104425f565" ] }
Create a new snapshot from a volume.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project ID
Region ID
Created task ID
The response is of type object.
object
Was this page helpful?