---
updatedAt: 2026-09-15T01:57:36.000Z
agentTools:
  projectIndex: https://developers.hivelocity.net/llms.txt
---

# Create a recurring snapshot schedule on a VDC volume; its

retention (maxSnapshots) counts against the VDC's snapshot
allocation

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/cloud/vdcs/{vdcId}/snapshot-schedules": {
      "parameters": [
        {
          "in": "path",
          "name": "vdcId",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ],
      "post": {
        "description": "retention (maxSnapshots) counts against the VDC's snapshot\nallocation",
        "operationId": "post_cloud_vdc_snapshot_schedules_resource",
        "parameters": [
          {
            "description": "An optional fields mask",
            "in": "header",
            "name": "X-Fields",
            "schema": {
              "type": "string",
              "format": "mask"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CloudSnapshotScheduleCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CloudSnapshotSchedule"
                }
              }
            }
          },
          "403": {
            "description": "You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission."
          }
        },
        "summary": "Create a recurring snapshot schedule on a VDC volume; its",
        "tags": [
          "Cloud"
        ]
      }
    }
  },
  "info": {
    "description": "Interact with Hivelocity",
    "title": "Hivelocity API",
    "version": "2.0"
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "description": "Hivelocity Cloud — virtual data centers (VDCs) and their resources",
      "name": "Cloud"
    }
  ],
  "servers": [
    {
      "url": "https://core.hivelocity.net/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      }
    },
    "schemas": {
      "CloudSnapshotSchedule": {
        "properties": {
          "day": {
            "type": "integer"
          },
          "hour": {
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "intervalType": {
            "description": "HOURLY, DAILY, WEEKLY or MONTHLY",
            "type": "string"
          },
          "maxSnapshots": {
            "description": "Snapshots retained by the schedule (rotated)",
            "type": "integer"
          },
          "minute": {
            "type": "integer"
          },
          "timezone": {
            "description": "IANA timezone, e.g. Etc/UTC",
            "type": "string"
          },
          "volumeId": {
            "type": "string"
          },
          "weekday": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "CloudSnapshotScheduleCreate": {
        "properties": {
          "day": {
            "description": "Day of month (1-28); required for MONTHLY",
            "type": "integer"
          },
          "hour": {
            "description": "Required for all intervals except HOURLY",
            "type": "integer"
          },
          "intervalType": {
            "description": "HOURLY, DAILY, WEEKLY or MONTHLY",
            "type": "string"
          },
          "maxSnapshots": {
            "description": "Snapshots the schedule retains before rotating",
            "type": "integer"
          },
          "minute": {
            "type": "integer"
          },
          "timezone": {
            "description": "IANA timezone, e.g. Etc/UTC",
            "type": "string"
          },
          "volumeId": {
            "description": "Volume to schedule (from /vdcs/<id>/volumes)",
            "type": "string"
          },
          "weekday": {
            "description": "1 (Sunday) - 7 (Saturday); required for WEEKLY",
            "type": "integer"
          }
        },
        "required": [
          "intervalType",
          "maxSnapshots",
          "minute",
          "timezone",
          "volumeId"
        ],
        "type": "object"
      }
    }
  }
}
```