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.

Language
Credentials
Bearer
URL
Click Try It! to start a request and see the response here!