---
title: "Approve access request"
method: POST
path: "/v1/trust-access/admin/requests/{id}/approve"
tags: ["Trust Access"]
---

# Approve access request

`POST /v1/trust-access/admin/requests/{id}/approve`

Approve request and create time-limited grant

## Path parameters

- `id` string, required

## Request body

- ApproveAccessRequestDto
  - `durationDays` number

## Response `200`

Request approved successfully

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/ac8d1e4e2e79/schema)
