POST
/
cloud
/
v1
/
snapshots
/
{project_id}
/
{region_id}
curl --request POST \
  --url https://api.gcore.com/cloud/v1/snapshots/{project_id}/{region_id} \
  --header 'APIKey: <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"
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

Body

application/json

Response

200
application/json

Everything is OK, task to create volume was created

The response is of type object.