HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

Replace all or delete some of the template variables for all devices.

Delete all existing template variables and create requested template variables for all devices.
This API can be used for deleting some variables out of all 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", "vc_name": "Instant-23:24:AA"}},
"AB0022222": {"_sys_serial": "AB0022222", "_sys_lan_mac": "21:22:AA:23:24:BB", "SSID_A": "X-Employee"}}

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

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

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum
Defaults to JSON

Format in which input is provided.

Allowed:
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:
*/*