Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
The modify settings command is used to modify analytics settings such as data retention values.
Example Request:
PUT /api/analytics/v1/settings HTTP/1.1 Authorization: Basic ab6rt4psMWE= Host: example.zfssa.com:215 Content-Type: application/json Content-Length: 60 {"retain_hour_data":600, "retain_minute_data":400, "retain_second_data":200}
Example Results:
HTTP/1.1 202 Accepted Content-Type: application/json Content-Length: 101 X-Zfssa-Analytics-Api: 1.0 { "settings": { "href": "/api/analytics/v1/settings", "retain_hour_data": 600, "retain_minute_data": 400, "retain_second_data": 200 } }