Deny Trust Access request
curl --request POST \
--url https://api.trycomp.ai/v1/trust-access/admin/requests/{id}/deny \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"reason": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>'})
};
fetch('https://api.trycomp.ai/v1/trust-access/admin/requests/{id}/deny', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-access/admin/requests/{id}/deny"
payload = { "reason": "<string>" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Trust Access
Deny Trust Access request | Comp AI API
Reject a Trust Center access request with a review reason so customer security access decisions stay auditable.
POST
/
v1
/
trust-access
/
admin
/
requests
/
{id}
/
deny
Deny Trust Access request
curl --request POST \
--url https://api.trycomp.ai/v1/trust-access/admin/requests/{id}/deny \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"reason": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>'})
};
fetch('https://api.trycomp.ai/v1/trust-access/admin/requests/{id}/deny', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-access/admin/requests/{id}/deny"
payload = { "reason": "<string>" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Was this page helpful?

