Post /host/aging
Description
Adds or modifies the Host Aging Settings.
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiNAC |
Content-Type (option 1) | application/json | String | |
Content-Type (option 2) |
application/xml |
|
|
Request Body Parameters
Name |
Required |
Type |
Description |
---|---|---|---|
registeredHostValidTime | Yes | Integer | |
registeredHostInactiveTime | Yes | Integer | |
unregHostValidTime | Yes | Integer | |
unregHostInactiveTime | Yes | Integer | |
userValidTime | Yes | Integer |
|
userInactiveTime |
Yes |
Integer |
|
deleteRegHostsWithUser |
Yes |
Boolean |
|
Sample Request
Request URL |
POST https://10.106.94.152:8443/api/v2/host/aging |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
registeredHostValidTime: 0 registeredHostInactiveTime: 0 unregHostValidTime: 3592000000 unregHostInactiveTime: 2209600000 userValidTime: 0 userInactiveTime: 0 deleteRegHostsWithUser: true |
Sample Response
{
"status": "success",
"errorMessage": null
}