HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

Update template variables for all devices (Only JSON Payload).

Update values of existing template variables and add new variabels to the existing set of variables for all devices.

Example:

Existing variables:
{"AB0011111": {"_sys_serial": "AB0011111", "_sys_lan_mac": "11:12:AA:13:14:BB", "SSID_A": "Z-Employee"},
"AB0022222": {"_sys_serial": "AB0022222", "_sys_lan_mac": "21:22:AA:23:24:BB", "vc_name": "Instant-23:24:BB"}}

Variables provided in this request body:
{"AB0011111": {"_sys_serial": "AB0011111", "_sys_lan_mac": "11:12:AA:13:14:BB", "SSID_A": "X-Employee", "vc_name": "Instant-23:24:BB"}},
"AB0022222": {"_sys_serial": "AB0022222", "_sys_lan_mac": "21:22:AA:23:24:BB", "vc_name": "Instant-23:24:AA", "SSID_A": "Z-Employee"}}

Final output variables:
{"AB0011111": {"_sys_serial": "AB0011111", "_sys_lan_mac": "11:12:AA:13:14:BB", "SSID_A": "X-Employee", "vc_name": "Instant-23:24:BB"}},
"AB0022222": {"_sys_serial": "AB0022222", "_sys_lan_mac": "21:22:AA:23:24:BB", "vc_name": "Instant-23:24:AA", "SSID_A": "Z-Employee"}}

In Final output variables, for "AB0011111" device "SSID_A" is updated and "vc_name" is created
and for "AB0022222" device "vc_name" is updated and "SSID_A" is created.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
file
required

File with variables to be applied for device.

  • {"AB0011111": {"_sys_serial": "AB0011111", "_sys_lan_mac": "11:12:AA:13:14:BB", "SSID_A": "Z-Employee"}, "AB0022222": {"_sys_serial": "AB0022222", "_sys_lan_mac": "21:22:AA:23:24:BB", "vc_name": "Instant-23:24:BB"}}
Responses
200

Successful operation.

  1. Job scheduled.

413

Request-size limit exceeded.

417

Request-size limit exceeded.

429

API Rate limit exceeded.

default

the default response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*