bulk
Vesta API · 6.0.76 · Community with mTLS
POST/api/v1/backups/bulk-createBulk Create Backups
Atomically freeze targets, per-target outcomes and original dispatches.
Parameters
Idempotency-Key · header · Optional
Caller-supplied UUID identifying this intent permanently. Reuse only for the same original principal, organization, action and normalized input. Not HTTP X-Request-ID.
{
"format": "uuid",
"type": "string"
}Request body
Required
application/json
Schema
Authentication
Responses
200
Durable admission receipt; pending/queued is not proof of external execution or success. A replay returns the original nonsecret receipt.
Headers
{
"Cache-Control": {
"schema": {
"const": "no-store"
}
},
"Idempotency-Key": {
"schema": {
"format": "uuid",
"type": "string"
}
},
"Idempotency-Replayed": {
"schema": {
"enum": [
"true",
"false"
],
"type": "string"
}
},
"X-Request-ID": {
"description": "Per-HTTP-request correlation, separate from durable admission identity.",
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"additionalProperties": false,
"properties": {
"details": {
"additionalProperties": false,
"properties": {
"created": {
"items": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"vm_id": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"backup_id",
"vm_id",
"vm_name"
],
"type": "object"
},
"type": "array"
},
"failed": {
"items": {
"additionalProperties": false,
"properties": {
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_id": {
"type": "string"
}
},
"required": [
"vm_id",
"reason"
],
"type": "object"
},
"type": "array"
},
"skipped": {
"items": {
"additionalProperties": false,
"properties": {
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_id": {
"type": "string"
}
},
"required": [
"vm_id",
"reason"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"created",
"skipped",
"failed"
],
"type": "object"
},
"request_id": {
"format": "uuid",
"type": "string"
},
"summary": {
"additionalProperties": false,
"properties": {
"created": {
"minimum": 0,
"type": "integer"
},
"failed": {
"minimum": 0,
"type": "integer"
},
"skipped": {
"minimum": 0,
"type": "integer"
},
"total": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"total",
"created",
"skipped",
"failed"
],
"type": "object"
},
"targets": {
"items": {
"type": "string"
},
"maxItems": 200,
"minItems": 1,
"type": "array",
"uniqueItems": true
}
},
"required": [
"targets",
"summary",
"details",
"request_id"
],
"type": "object"
}400
Invalid domain request.
application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/OperatorAdmissionError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}401
Authentication unavailable.
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/OperatorAdmissionError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Current action authority unavailable.
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/OperatorAdmissionError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}404
Authorized resource unavailable.
application/json
Schema
409
Identity conflict, unresolved/retired outcome, pending agent rotation, stale KEK predecessor or unsupported provider contract.
application/json
Schema
413
Normalized intent exceeds admission limit.
application/json
Schema
422
Malformed identity, request validation or bulk target limit.
application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/OperatorAdmissionError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "bulk_admission_limit",
"type": "string"
},
"max_targets": {
"type": "integer"
}
},
"required": [
"code",
"max_targets"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}423
Existing source or operation custody prevents admission.
application/json
Schema
500
Outcome may be unknown after a lost/failing commit response. Reconcile the same request identity.
application/json
Schema
text/plain
Schema
{
"anyOf": [
{
"type": "string"
},
{
"const": "Internal Server Error",
"type": "string"
}
]
}503
Admission dependency unavailable.
application/json
Schema
POST/api/v1/backups/bulk-deleteBulk Delete Backups
Delete multiple backups at once (operator or admin only)
Request body
Required
application/json
Schema
Authentication
Responses
200
Successful response; resource state is separate from HTTP acceptance.
application/json
Schema
{
"additionalProperties": false,
"properties": {
"details": {
"additionalProperties": false,
"properties": {
"deleted": {
"items": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"deleted_bytes": {
"type": "integer"
},
"vm_name": {
"type": "string"
}
},
"required": [
"backup_id",
"vm_name",
"deleted_bytes"
],
"type": "object"
},
"type": "array"
},
"failed": {
"items": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"backup_id",
"reason"
],
"type": "object"
},
"type": "array"
},
"skipped": {
"items": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"reason": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"backup_id",
"vm_name",
"reason"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"deleted",
"skipped",
"failed"
],
"type": "object"
},
"summary": {
"additionalProperties": false,
"properties": {
"deleted": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"skipped": {
"type": "integer"
},
"total": {
"type": "integer"
}
},
"required": [
"total",
"deleted",
"skipped",
"failed"
],
"type": "object"
}
},
"required": [
"summary",
"details"
],
"type": "object"
}400
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/backups/bulk-tagBulk Tag Backups
Add or update tags on multiple backups at once (operator or admin only)
Request body
Required
application/json
Schema
Authentication
Responses
200
Successful response; resource state is separate from HTTP acceptance.
application/json
Schema
{
"additionalProperties": false,
"properties": {
"details": {
"additionalProperties": false,
"properties": {
"failed": {
"items": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"backup_id",
"reason"
],
"type": "object"
},
"type": "array"
},
"updated": {
"items": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"new_tags": {
"additionalProperties": true,
"description": "Extensible domain metadata; keys are not a closed schema.",
"type": "object",
"x-open-schema-reason": "Persisted/provider-supplied domain metadata permits additional JSON values."
},
"old_tags": {
"additionalProperties": true,
"description": "Extensible domain metadata; keys are not a closed schema.",
"type": "object",
"x-open-schema-reason": "Persisted/provider-supplied domain metadata permits additional JSON values."
},
"vm_name": {
"type": "string"
}
},
"required": [
"backup_id",
"vm_name",
"old_tags",
"new_tags"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"updated",
"failed"
],
"type": "object"
},
"summary": {
"additionalProperties": false,
"properties": {
"failed": {
"type": "integer"
},
"total": {
"type": "integer"
},
"updated": {
"type": "integer"
}
},
"required": [
"total",
"updated",
"failed"
],
"type": "object"
}
},
"required": [
"summary",
"details"
],
"type": "object"
}400
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}