Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 985 Bytes

File metadata and controls

41 lines (29 loc) · 985 Bytes

Delete an SSID

Remove an SSID from the device's Wi-Fi configuration. The change is not applied until you call apply update.

PATCH https://www.expedy.fr/api/v2/devices/{device_uid}/wifi/{wifi_id}/del

Authentication

See Authentication.

Path parameters

Name Type Required Description
device_uid string yes The device's unique ID.
wifi_id number yes ID of the SSID entry to remove, as returned by /wifi/conf.

Response — 200 OK

Same shape as GET /wifi/conf.

{
  "last_ping": 1641491009,
  "wifi_conf": [
    { "wifi_id": 41, "wifi_ssid": "my_new_local_ssid",
      "wifi_psk": "***********************" }
  ]
}

Examples

Node.js — SDK

await client.devices.wifi.deleteSsid("MMAAZ112PI", 40);
await client.devices.wifi.applyUpdate("MMAAZ112PI");