可通过发送 HTTP PUT 请求来修改由 list 命令返回的一些属性。
请求示例:
PUT /api/alert/v1/actions/actions-001 HTTP/1.1
Host: zfssa.example.com:215
X-Auth-Session: uerqghq84vbdv
Content-Type: application/json
Content-Length: 30
{"support_bundle_sent": false}
响应示例:
HTTP/1.1 202 Accepted
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json
Content-Length: 195
{
"action": {
"href": "/api/alert/v1/actions/actions-001",
"category": "scrk",
"support_bundle_build_failed": true,
"support_bundle_sent": false,
"support_bundle_upload_failed": true
}
}