---
title: "Archive Project Task"
method: PATCH
path: "/attendance/project-tasks/{taskId}/archive"
tags: ["Projects"]
---

# Archive Project Task

`PATCH /attendance/project-tasks/{taskId}/archive`

Archive a project task by setting its status to "archived".

Archived tasks remain stored and queryable, but are not available for selection when adding new attendance entries.

## Path parameters

- `taskId` integer, required

## Response `204`

Task archived successfully

## Other responses

- `400` — The request is malformed or includes invalid parameters
- `401` — Authentication failed. Check your service user credentials
- `403` — The service user or token is missing the required permissions to access the requested data
- `404` — Task not found
- `429` — Rate limit exceeded - see <a href="https://apidocs.hibob.com/reference/project-tasks#rate-limiting">Rate limits</a>
- `500` — An unexpected error occurred. Try again or contact support if the issue persists.

---

[API](https://skmtc.net/hibob/apis/employee-data-api.md) · [All operations](https://skmtc.net/hibob/apis/employee-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hibob/employee-data-api/versions/0781ebbdda91/schema)
