---
title: "Update a request"
method: PUT
path: "/api/v1/requests/{id}"
tags: ["Requests"]
---

# Update a request

`PUT /api/v1/requests/{id}`

Update a request by its ID.

## Path parameters

- `id` integer, required

## Request body

- UpdateRequest
  - `token` string, required
  - `item` object
    - `name` string — The name of the request
    - `team_id` integer — The performing team ID
    - `status` 'Draft' | 'Pending' | 'Approved' | 'Awaiting Assignment' | 'Assigned' | 'In Progress' | 'Completed' — The request status, indicating the current state of the request.
    - `priority` 'Low' | 'Medium' | 'High' | 'Urgent' — Specifies the priority level of the request. By default - Low
    - `due_date` string, date — Date in the following format - 'YYYY-MM-DD'

## Response `200`

ok

## Other responses

- `400` — Bad Request
- `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)
