device_revoke
DELETE
/v1/devices/{id}
const url = 'https://example.com/v1/devices/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/v1/devices/exampleLocal only. Revokes a device immediately: later requests get 401 and its open event WebSockets close.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Revoked
Unknown device