---
title: "Update task status"
method: PUT
path: "/tasks/{id}/status"
tags: ["Tasks"]
---

# Update task status

`PUT /tasks/{id}/status`

Use when updating task status (e.g. marking complete or failed from a worker). Typically called by backend processors.

## Path parameters

- `id` string, required

## Request body

- UpdateTaskStatusRequest
  - `task_status` 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED', required

## Response `200`

OK

- SuccessResponse
  - `message` string

## Other responses

- `400` — Invalid request
- `404` — Resource not found
- `500` — Server error

---

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