userID: ********************{
"regionID": "nm8",
"policyID": "e2a7944f-d839-5b20-a114-735ea47b3615",
"policyName": "volumebackup-policy-20230406-modify",
"cycleType": "week",
"cycleDay": null,
"cycleWeek": "0,2",
"time": "1",
"retentionType": "date",
"retentionDay": 1
}curl --location --request POST 'http://ct-global.ctapi-internal.ctyun.local:31111/v4/ebs-backup/policy/update' \
--header 'x-ctyun-user-id: {{userID}}' \
--header 'Accept-Language: zh-CN' \
--header 'userId: ef378f73-1c52-435e-90f2-6a9cd2258c8e' \
--header 'userID: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"regionID": "nm8",
"policyID": "e2a7944f-d839-5b20-a114-735ea47b3615",
"policyName": "volumebackup-policy-20230406-modify",
"cycleType": "week",
"cycleDay": null,
"cycleWeek": "0,2",
"time": "1",
"retentionType": "date",
"retentionDay": 1
}'{
"description":"成功",
"errorCode":"SUCCESS",
"message":"success",
"returnObj":{
"accountID":"2065",
"cycleType":"week",
"cycleWeek":"0,2",
"policyName":"volumebackup-policy-20230406-modify",
"regionID":"nm8",
"remainFirstOfCurMonth":false,
"retentionDay":1,
"retentionType":"time",
"status":1,
"time":"1"
},
"statusCode":800
}