Approve Trust Access request
POST
/v1/trust-access/admin/requests/{id}/approve
const url = 'https://api.varman.io/v1/trust-access/admin/requests/example/approve';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"durationDays":1}'};
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/approve \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "durationDays": 1 }'Approve a Trust Center access request, configure the grant window, and start the NDA or access email workflow.
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
durationDays
number
Example generated
{ "durationDays": 1}Responses
Section titled “Responses”Request approved successfully