---
title: "Change the status of one time entry"
method: PATCH
path: "/time-tracking/{id}"
tags: ["time-tracking"]
---

# Change the status of one time entry

`PATCH /time-tracking/{id}`

## Request

- Base URL: `https://api.hoorayhr.io`
- URL: `https://api.hoorayhr.io/time-tracking/{id}`
- Auth: API key in header `authorization`

Updates the resource identified by id using data.

## Path parameters

- `id` integer, required

## Request body

- object
  - `status` 'NOT_LOGGED' | 'CONCEPT' | 'REQUEST' | 'APPROVED' | 'DENIED', required

## Response `200`

success

- TimeTracking (unresolved $ref)

## Other responses

- `401`: not authenticated
- `404`: not found
- `500`: general error

---

[API](https://skmtc.dev/hoorayhr/apis/hoorayhr-api-documentation.md) · [All operations](https://skmtc.dev/hoorayhr/apis/hoorayhr-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/hoorayhr/apis/hoorayhr-api-documentation/revisions/3adcd47cd827?raw)
