Delete a vendor attachment
curl --request DELETE \
--url https://api.trycomp.ai/v1/vendors/{id}/attachments/{attachmentId} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/vendors/{id}/attachments/{attachmentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/vendors/{id}/attachments/{attachmentId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)Vendors
Delete a vendor attachment | Comp AI API
Delete a vendor attachment in Comp AI. Manage third-party vendors, global vendor search, risk assessment triggers, and Trust Center vendor visibility.
DELETE
/
v1
/
vendors
/
{id}
/
attachments
/
{attachmentId}
Delete a vendor attachment
curl --request DELETE \
--url https://api.trycomp.ai/v1/vendors/{id}/attachments/{attachmentId} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/vendors/{id}/attachments/{attachmentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/vendors/{id}/attachments/{attachmentId}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)Was this page helpful?

