Snapshot Schedules
Remove schedules from policy
Remove schedules from an existing snapshot policy.
post/cloud/v1/lifecycle_policy/{project_id}/{region_id}/{policy_id}/remove_schedules
Path parameters
project_idinteger required
Project ID
Example:1
Project ID
region_idinteger required
Region ID
Example:1
Region ID
policy_idinteger required
Lifecycle policy ID.
Example:1
Lifecycle policy ID.
Request body
Example request
{
"schedule_ids": [
"1488e2ce-f906-47fb-ba32-c25a3f63df4f"
]
}Response
OK
Example response
{
"action": "volume_snapshot",
"id": 1,
"name": "schedule_1",
"project_id": 1,
"region_id": 1,
"schedules": [
{
"day": "5",
"day_of_week": "mon,fri",
"hour": "0, 20",
"id": "1488e2ce-f906-47fb-ba32-c25a3f63df4f",
"max_quantity": 2,
"minute": "30",
"month": "1,6",
"owner": "lifecycle_policy",
"owner_id": 1,
"resource_name_template": "reserve snap of the volume {volume_id}",
"retention_time": {
"hours": 2,
"minutes": 1
},
"timezone": "UTC",
"type": "cron",
"user_id": 12,
"week": "1"
}
],
"user_id": 11,
"volumes": [
{
"volume_id": "3ed9e2ce-f906-47fb-ba32-c25a3f63df4f",
"volume_name": "test schedule"
}
]
}