---
title: "Approve pending approval requests"
method: PUT
path: "/approval_requests/{request_id}/approve"
tags: ["Approval Requests"]
---

# Approve pending approval requests

`PUT /approval_requests/{request_id}/approve`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/approval_requests/{request_id}/approve`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/approval_requests/:request_id/approve/put.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to approve pending approval requests that are assigned to user or it's unassigned.

## Path parameters

- `request_id` integer, required

## Headers

- `Accept` 'application/vnd.nexla.api.v1+json' | 'application/json': Setting to `application/vnd.nexla.api.v1+json` is recommended.

## Response `200`

Success

- ApprovalRequest
  - `id` integer
  - `org_id` integer
  - `request_type` string
  - `topic_id` integer
  - `status` string
  - `requestor_id` integer
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `assignee_id` integer
  - `rejection_reason` string

## Other responses

- `403`: Forbidden

---

[API](https://skmtc.dev/nexla/apis/nexla-rest-api.md) - [All operations](https://skmtc.dev/nexla/apis/nexla-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nexla/apis/nexla-rest-api/revisions/ef02be92fe7b?raw)
