Sample Request
curl -X POST --cookie auth_token=$cookie http://134.141.242.93/nsight-ui/api/v1/tools/
set-aptest-preferences?treeSelection=%2FSystem
-H "Content-Type: application/json"
-d {
"pref":
{
"purge": 363,
"id": extModel3026-1"
}
}
Query String Parameters
| Parameter | Required/Optional | Description | Data Type |
|---|---|---|---|
| treeSelection | Required | The type of access point entries to be returned in the
response. Possible values are:
|
String |
Request Body Parameter
| Parameter | Description | Data Type |
|---|---|---|
| purge | Duration in days after which reports will be purged. | Integer |
Sample Response (200 OK)
{
"success":true,
"return_code":0,
"err":"none"
}