Delete device
DELETE
/v1/devices/{id}
const url = 'https://api.varman.io/v1/devices/dev_abc123def456';const options = {method: 'DELETE', headers: {'X-API-Key': '<X-API-Key>'}};
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://api.varman.io/v1/devices/dev_abc123def456 \ --header 'X-API-Key: <X-API-Key>'Delete device in Varman. Read and manage employee device inventory and Fleet compliance data used for endpoint security controls.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Example
dev_abc123def456Device ID to delete
Responses
Section titled “Responses”Device deleted successfully
Forbidden - only organization owners can delete devices
Organization or device not found