---
title: "Update a workflow (PATCH)"
method: PATCH
path: "/processes/{id}"
tags: ["Taskflow"]
---

# Update a workflow (PATCH)

`PATCH /processes/{id}`

Update specific process fields. Only include fields to be updated.

## Path parameters

- `id` string, required

## Headers

- `X-Company-ID` string, required

## Request body

- PatchedProcess
  - `id` integer
  - `name` string
  - `description` string
  - `status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' — * `NOT_STARTED` - Not Started * `IN_PROGRESS` - In Progress * `COMPLETED` - Completed
  - `completed_at` string, date-time, nullable
  - `completed_by` integer, nullable
  - `created_by` integer
  - `modified_by` integer, nullable
  - `owner` integer

## Response `200`

- Process
  - `id` integer, required
  - `name` string, required
  - `description` string
  - `status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' — * `NOT_STARTED` - Not Started * `IN_PROGRESS` - In Progress * `COMPLETED` - Completed
  - `completed_at` string, date-time, nullable, required
  - `completed_by` integer, nullable, required
  - `created_by` integer, required
  - `modified_by` integer, nullable, required
  - `owner` integer

## Other responses

- `400` — Invalid input (e.g., duplicate name, invalid status transition).
- `401` — Unauthorized
- `403` — Forbidden - User does not have permission to update this process.
- `404` — Process not found

---

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