When specified, the request and/or response body is expected to be in SonicOS API JSON format.
Request
POST /api/sonicos/address-objects/mac
Content-type: application/json
Accept: application/json
{
"address_object": {
"mac": {
"name": "001122334455"
,"address": "001122334455"
,"multi_homed": true
,"zone": "LAN" }
} }
Response
HTTP/1.0 200 OK
Server: SonicWALL
Content-type: application/json; charset=UTF-8
{
"status": {
"success": true
,"cli": {
"depth": 1
,"mode": "config_mode"
,"configuring": true
,"pending_config": true
,"restart_required": "NONE"
}
,"info": [
{ "level": "info", "code": "E_OK", "message": "Success." } ]
} }