Exchange an auth code for device credentials
POST
/v1/device-agent/exchange-code
const url = 'https://api.varman.io/v1/device-agent/exchange-code';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/exchange-code \ --header 'Content-Type: application/json' \ --data '{}'Exchange an auth code for device credentials in Varman. Register employee devices, submit device compliance check-ins, download agent builds, and manage endpoint security status.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
Example generated
{}