Lock/Unlock Snapshot
PUT
/api/v1/nodes/{node_id}/snapshot/{snapshot_uuid}Path parameters
node_idPathstringrequiredPath parameter
node_id.snapshot_uuidPathstringrequiredPath parameter
snapshot_uuid.
Query parameters
project_idQueryintegerrequiredIdentifier of the project to scope the request to. Required integer project ID.
- required
- must be a valid integer project ID
example{{project_id}}apikeyQuerystringrequiredAPI key for authenticating the lock/unlock snapshot request
- required
- non-empty string
example{{api_key}}locationQuerystringrequiredSpecifies the target location for the lock or unlock operation
- required
- non-empty string
example{{location}}
Request body
application/json
Indicates if the snapshot should be locked (true) or unlocked (false).
example
false- must be a boolean
- required
Specifies the type of resource to lock or unlock
example
node- must be a non-empty string
- allowed values: node, volume, snapshot
Responses
200Successful response
HTTP status code indicating the result of the lock/unlock operation
example
200- must be a valid HTTP status code
- must be a non-negative integer
Status message indicating the result of the lock or unlock snapshot operation
example
Success- must be a non-empty string
- maximum length of 255 characters