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_idQuerystringoptionalIdentifier of the project to scope the request to. Optional; if omitted, the account's default project is used.
- optional
- if omitted, the request is applied to the default project
example{{project_id}}apikeyQuerystringoptionalAPI key for authenticating the lock/unlock snapshot request
- required
- non-empty string
example{{api_key}}locationQuerystringoptionalSpecifies 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