Skip to main content
POST
/
v1
/
trust-access
/
admin
/
requests
/
{id}
/
approve
Approve Trust Access request
curl --request POST \
  --url https://api.trycomp.ai/v1/trust-access/admin/requests/{id}/approve \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "durationDays": 2
}
'

Documentation Index

Fetch the complete documentation index at: https://www.trycomp.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

id
string
required

Body

application/json
durationDays
number
Required range: x >= 1

Response

200

Request approved successfully