Deny Trust Access request
POST
/v1/trust-access/admin/requests/{id}/deny
const url = 'https://api.varman.io/v1/trust-access/admin/requests/example/deny';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"reason":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/trust-access/admin/requests/example/deny \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "reason": "example" }'Reject a Trust Center access request with a review reason so customer security access decisions stay auditable.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
reason
required
string
Example generated
{ "reason": "example"}Responses
Section titled “Responses”Request denied