Register device agent
POST
/v1/device-agent/register
const url = 'https://api.varman.io/v1/device-agent/register';const options = {method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/device-agent/register \ --header 'Content-Type: application/json' \ --data '{}'Register a Varman Device Agent installation so employee endpoint checks can report into compliance tasks and device inventory.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
Example generated
{}