Delete employment evidence
curl --request DELETE \
--url https://api.trycomp.ai/v1/people/{id}/employment-evidence/{eventType}/{attachmentId} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/people/{id}/employment-evidence/{eventType}/{attachmentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/people/{id}/employment-evidence/{eventType}/{attachmentId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)People
Delete employment evidence | Comp AI API
Delete employment evidence in Comp AI. Invite and manage workforce members, training status, device compliance, email preferences, and employee evidence.
DELETE
/
v1
/
people
/
{id}
/
employment-evidence
/
{eventType}
/
{attachmentId}
Delete employment evidence
curl --request DELETE \
--url https://api.trycomp.ai/v1/people/{id}/employment-evidence/{eventType}/{attachmentId} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/people/{id}/employment-evidence/{eventType}/{attachmentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/people/{id}/employment-evidence/{eventType}/{attachmentId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)Was this page helpful?

