SonicOS/X API Reference Guide

Table of Contents

Request 2

POST /api/sonicos/direct/cli

Content-type: text/plain

Accept: application/json

address-object mac example address 001122334455

zone LAN

multi-homed

exit

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." }]

} }