createOrgDeviceProfiles

POST https://{{host}}/api/v1/orgs/:org_id/deviceprofiles

Body Parameters

ParameterTypeDescription
namestringname of the profile
varsobjecta dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars

Radio Parameters

ParameterTypeDescription
radio_configobjectradio configs
band_24objectradio config for 2.4G
band_5objectradio config for 5G
band_24_usagestring24 / 5 / auto, default is 24
scanning_enabledbooleanwhether scanning radio is enabled
disabledbooleanwhether to disable the radio
channelint(primary) channel for the band, 0 means using the Site Setting
powerinttx power of the radio, 0 mean using the Site Setting
ant_gain_24intantenna gain for 2.4G - for models with external antenna only
ant_gain_5intantenna gain for 5G - for models with external antenna only
bandwidthintchannel width for the band, 20 / 40 / 80, 80 is only applicable for band_5, ignored if channel is 0
channelslistlist of channels, null or empty array means auto
antenna_modestringdefault / 1x1 / 2x2 / 3x3 / 1x4
power_minintwhen power=0, min tx power to use, HW-specific values will be used if not set
power_maxintwhen power=0, max tx power to use, HW-specific values will be used if not set
preamblestringshort / long / auto, default is short
usagestringfor band_24 radio, 24 / 5 / rrm, default is 24

IP Parameters

ParameterTypeDescription
vlan_idintmanagement vlan id, default is 1 (untagged)

BLE Parameters

ParameterTypeDescription
ble_configobjectBLE config
power_modestringdefault / custom
powerintrequired if power_mode==custom, 1-10, in dBm, default is currently 8
beacon_enabledbooleanwhether Mist beacons is enabled, default is true
beacon_rate_modestringdefault / custom
beacon_rateintrequired if beacon_rate_mode==custom, 1-10, in number-beacons-per-second
beam_disabledlistlist of AP BLE location beam numbers (1-8) which should be disabled at the AP and not transmit location information (where beam 1 is oriented at the top the AP, growing counter-clock-wise, with 9 being the omni BLE beam)

USB Parameters

ParameterTypeDescription
usb_configobjectUSB config
enabledbooleanwhether to enable any usb config
typestringusb config type, option: imagotag
channelintchannel selection, 0-10, not needed by default, required for manual channel override only
hoststringrequired if type==imagotag
portintport, default 0
verify_certbooleanwhether to turn on SSL verification
cacertstringca certs

LED Parameters

ParameterTypeDescription
ledobjectLED control

Mesh Parameters

ParameterTypeDescription
meshobjectmesh-related
enabledbooleanwhether mesh is enabled on this AP, default is false
rolestringbase / remote
groupintmesh group, base AP(s) will only allow remote AP(s) in the same mesh group to join, 1-9, optional

Ports Parameters

ParameterTypeDescription
disable_eth1booleanwhether to disable eth1 port, default is false
disable_modulebooleanwhether to disable module port, default is false

Power Parameters

ParameterTypeDescription
poe_passthroughbooleanwhether to enable power out through module port (for APH) or eth1 (for APL/BT11), default is false
pwr_configobjectpower related configs
baseintadditional power to request during negotiating with PSE over PoE, in mW, default is 0

Switch Parameters

By default, configuration of the switch is automated/abstracted. If you have scenarios that cannot be covered, you can customize it here.

ParameterTypeDescription
switch_configobjectswitching-related
enabledbooleandefault is false
eth0objectport config for eth0, available ports are eth0 / eth1 / module (only for AP41 and AP61) / wds (only when mesh is enabled)
vlan_idslistlist of VLAN ids this
portvlanidintnative VLAN id, optional

IoT Parameters

Configuration of IoT pins. By default, all the pins are disabled

Request Body

{"type"=>"ap", "name"=>"LowPower", "height"=>3, "radio_config"=>{"band_24"=>{"disabled"=>false, "channel"=>0, "bandwidth"=>20, "power"=>1, "antenna_mode"=>"1x1", "allow_rrm_disable"=>false}, "band_5"=>{"disabled"=>false, "channel"=>0, "bandwidth"=>40, "power"=>0, "antenna_mode"=>"default"}, "ant_gain_24"=>4, "ant_gain_5"=>5, "band_24_usage"=>"5", "band_5_on_24_radio"=>{"disabled"=>false, "channel"=>0, "bandwidth"=>40, "power"=>0, "antenna_mode"=>"default"}, "scanning_enabled"=>true}, "ble_config"=>{"power_mode"=>"custom", "power"=>10, "beacon_enabled"=>true}, "usb_config"=>{"enabled"=>true, "type"=>"imagotag", "host"=>"1.1.1.1", "channel"=>3, "port"=>0, "verify_cert"=>false, "cacert"=>""}, "led"=>{"enabled"=>true, "brightness"=>255}, "mesh"=>{"enabled"=>true, "role"=>"base", "group"=>0}, "switch_config"=>{"enabled"=>true, "eth0"=>{"vlan_ids"=>[1, 3055], "port_vlan_id"=>1}}, "disable_eth1"=>false, "disable_module"=>false, "poe_passthrough"=>false, "pwr_config"=>{"base"=>2000}, "vars"=>{"RADIUS_SECRET"=>"11s64632d", "RADIUS_IP1"=>"172.31.2.5"}}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
X-CSRFTokenstring
Content-Typestring