Download macOS Device Agent
GET
/v1/device-agent/mac
const url = 'https://api.varman.io/v1/device-agent/mac';const options = {method: 'GET', 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 GET \ --url https://api.varman.io/v1/device-agent/mac \ --header 'X-API-Key: <X-API-Key>'Downloads the Varman Device Agent installer for macOS as a DMG file. The agent helps monitor device compliance and security policies.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”default
Section titled “default”Internal server error
macOS agent file not found in S3
Unauthorized - Invalid or missing authentication
macOS agent DMG file download
Media typeapplication/x-apple-diskimage
string format: binary
Example
Binary DMG file contentHeaders
Section titled “Headers”Content-Disposition
string
Example
attachment; filename="Varman Agent-1.0.0-arm64.dmg"Indicates file should be downloaded with specific filename