---
title: "Approve a request"
method: PATCH
path: "/api/v1/requests/{id}/approve"
tags: ["Requests"]
---

# Approve a request

`PATCH /api/v1/requests/{id}/approve`

This end point allows authorized users to approve a request which was assigned to them,
this will automatically move request to be reviewed by the performing team leader.

Pending >> Approved

- Authorized users: admins and assignee at the time.

## Path parameters

- `id` integer, required

## Request body

- ApprovedRequest
  - `token` string, required
  - `item` object
    - `team_id` integer — The performing team ID
    - `due_date` string, date — Date in the following format - 'YYYY-MM-DD'
    - `priority` 'Low' | 'Medium' | 'High' | 'Urgent' — Specifies the priority level of the request. By default - Low

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/labguru/apis/labguru-api.md) · [All operations](https://skmtc.net/labguru/apis/labguru-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labguru/labguru-api/revisions/0534e4d70b77/schema)
