Networking

Create a CpeAp

Creates a new CpeAp.

post/admin/networking/cpe-ap

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/networking/cpe-ap
  • Auth: HTTP basic

Request body

cpe_idnumber

Cpe id.

namestring required

CpeAp name.

modestring required

CpeAp mode. Values: 'alignment-only', 'ap-bridge', 'bridge', 'nstreme-dual-slave', 'station', 'station-bridge', 'station-pseudobridge', 'station-pseudobridge-clone', 'station-wds', 'wds-slave'.

interfacestring required

CpeAp interface.

protocolstring

CpeAp protocol. Default: '802.11'.

frequencystring

CpeAp frequency. Default: 'auto'.

bandstring

CpeAp band.

channel_widthstring

CpeAp chanel width.

countrystring

CpeAp country.

securitystring

CpeAp security. Default: 'wpa2'. Values: 'wpa', 'wpa2', 'wpa_wpa2', 'none'.

encryptionstring

CpeAp encryption. Values: 'aes_ccm', 'tkip', 'aes_ccm_tkip'.

passwordstring required

CpeAp password.

enablednumber

CpeAp is enabled. Values: 0 or 1.

masterstring

CpeAp master.

Example request

{
  "cpe_id": 1,
  "name": "cpeap 1",
  "mode": "ap-bridge",
  "interface": "wlan1",
  "protocol": "802.11",
  "frequency": "auto",
  "band": "2ghz-b/g/n",
  "channel_width": "20/40mhz-Ce",
  "country": "czech republic",
  "security": "wpa_wpa2",
  "encryption": "aes_ccm",
  "password": "cpeap_password",
  "enabled": 1,
  "master": "cpeap master"
}

Response

idnumber

CpeAp ID.

Example response

{
  "id": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.