Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 102
VLAN DELETE, VLAN Request Example, Response Example
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 102 highlights
Internal Error Codes The possible error codes for OpEN API are shown in the following table. Table 4-53. VLAN UPDATE Internal Error Codes Error Code 0 -21 -22 -26 Code Name OPEN_E_NONE OPEN_E_INTERNAL OPEN_E_PARAM OPEN_E_FAIL Description Success. Internal error. Invalid parameter. Operation fail. VLAN Request Example The following is a VLAN UPDATE request example. curl -GET -XPUT -d "id=2&name=vlan2_update1" 10.10.10.1:8080/open/v1/vlans browser: http://10.10.10.1:8080/open/v1/vlans?method=put&id=2&name= vlan2_update1 Response Example { "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } VLAN DELETE DELETE /open/v1/vlans Use this call to delete an existing VLAN on the switch. The VLAN ID is mandatory. 102 Rest API Reference