POST /v2/volumes/{volume_id}/snapshots
To create a snapshot from a volume, sent a POST request to /v2/volumes/$VOLUME_ID/snapshots
.
Servers
- https://api.digitalocean.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
volume_id |
String | Yes |
The ID of the block storage volume. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
name |
String | Yes |
A human-readable name for the volume snapshot. |
tags[] |
Array | No |
A flat array of tag names as strings to be applied to the resource. Tag names may be for either existing or new tags. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.