= CPE management Portax CPE management API == DESCRIPTION Management API allows remote CPE management (eg. reboot) == METHODS === POST Send command to CPE. Expects UTF-8 JSON encoded data in the POST body. ==== FIELDS Required attributes. command:: {{{reboot}}} reboot CPE using SNMP via CPE, {{{restart}}} restart cable modem using SNMP via CMTS, {{{refresh}}} soft-reprovisioning bootfile, {{{bootstrap}}} full-reprovisioning with reboot, {{{restore}}} factory reset device if supported mac:: MAC address list, either single MAC or array of MAC addresses. note:: Log message. ==== EXAMPLE {{{data.json}}} {{{ { "command": "reboot", "mac": ["24:76:7d:1f:3c:b9"], "note": "test" } }}} {{{ curl -s --cert-type P12 --cert $CERT:$PASS -X POST \ -H "Content-Type: application/json" \ --data @data.json $URL/rest/cpe }}}