Post /device/port/properties
Description
Sets administration properties for the port or ports.
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/device/port/properties |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
{ "ids": [ 0 ], "name": "string", "adminStatus": true, "defaultVlan": "string", "currentVlan": "string", "newUplink": 0, "clearUplink": true, "note": "string" } |
Sample Response
{
"status": "string",
"errorMessage": "string",
}