Astarte.API.Pairing.Agent.unregister_device

You're seeing just the function unregister_device, go back to Astarte.API.Pairing.Agent module for more information.
Link to this function

unregister_device(client, device_id)

Specs

unregister_device(client :: Astarte.API.client(), device_id :: String.t()) ::
  Astarte.API.result()

Unregisters a device. This makes it possible to register it again, even if it already has requested its credentials. All data belonging to the device will be kept as is.

client is a Pairing API client created with Astarte.API.Pairing.client/3.

device_id is the device id of a registered Astarte device.## Return values *if the HTTP request can be performed.resultwill be a map withstatus,headersandbody. *` if the HTTP request can't be performed.