Revoke a device agent session
curl --request DELETE \
--url https://api.trycomp.ai/v1/device-agent/sessions/{deviceId}const options = {method: 'DELETE'};
fetch('https://api.trycomp.ai/v1/device-agent/sessions/{deviceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/device-agent/sessions/{deviceId}"
response = requests.delete(url)
print(response.text)Device Agent
Revoke a device agent session | Comp AI API
Revoke a device agent session in Comp AI. Register employee devices, submit device compliance check-ins, download agent builds, and manage endpoint security.
DELETE
/
v1
/
device-agent
/
sessions
/
{deviceId}
Revoke a device agent session
curl --request DELETE \
--url https://api.trycomp.ai/v1/device-agent/sessions/{deviceId}const options = {method: 'DELETE'};
fetch('https://api.trycomp.ai/v1/device-agent/sessions/{deviceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/device-agent/sessions/{deviceId}"
response = requests.delete(url)
print(response.text)Path Parameters
Response
204 - undefined
Was this page helpful?

