Post /host/device-identity/{id}
Description
Updates an existing Device Identity record in the database.
Request Parameter
ID, DBID of the device identity.
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 |
|
|
Sample Request
Request URL |
POST https://10.106.94.152:8443/api/v2/host/device-identity/555 |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
{ "dbid": 555, "source": "FortiGuard", "physAddress": "00:50:56:B5:39:06", "ipAddress": null, "hostName": null, "entityTag": "Server", "os": "Windows", "createTime": "2023-09-19T17:16:08.000+0000", "lastHeardTime": "2023-09-19T17:16:08.000+0000", "registered": false, "vendorOUI": "00:50:56", "vendorName": "VMware, Inc.", "dpcRuleName": null, "dpcRuleId": -1, "entity": { "name": "Server", "tag": "Server", "imageFile": "icons/device/generated/server_16.png", "id": 10 } } |
Sample Response
{
"status": "success",
"errorMessage": null
}