---
title: "Change status of approval"
method: PUT
path: "/v3/approval/{id}/change-status"
tags: ["[v3] Approval"]
---

# Change status of approval

`PUT /v3/approval/{id}/change-status`

Change status of approval

## Path parameters

- `id` string, required

## Headers

- `Accept` string
- `Content-Type` string

## Request body

- object
  - `status` integer, required — New status: 0 - Open 1 - Approved 2 - Pending 3 - Rejected
  - `message` string — Comment send in mail

## Response `200`

OK

- object
  - `data` object[]
    - `approvalId` integer
    - `status` integer
    - `modificationTime` string
    - `approvedBy` integer
    - `approvedBy2` integer

## Other responses

- `403` — The authenticated OAuth2 access token or PAT does not contain any scope accepted by the endpoint.
- `default` — Default

---

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