SonicOS/X API Reference Guide

Application/JSON

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

} }

Was This Article Helpful?

Help us to improve our support portal

Techdocs Article Helpful form

  • Hidden
  • Hidden

Techdocs Article NOT Helpful form

  • Still can't find what you're looking for? Try our knowledge base or ask our community for more help.
  • Hidden
  • Hidden