Update MAC override
PATCH
/networks/{id}/mac-policy/overrides/{overrideId}Contract
Parameter | Value |
|---|---|
| Section | networks |
| Authentication | CookieAuth |
| Consumes | application/json |
| Produces | application/json |
Parameters
3 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Network ID |
| overrideId | path | yes | integer | Override-record ID |
| request | body | yes | object | Override record data: {ip, mac} |
{}
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Successful response | object |
400 | Invalid network/override-record ID, request body, or IP/MAC address | object |
401 | Unauthorized | object |
500 | Failed to update record | object |
{ "id": 0, "ip": "<string>", "mac": "<string>", "networkId": 0 }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }