---
title: "Changes workflow on project"
method: PATCH
path: "/api/v2/projects/{id}/change_workflow"
tags: ["Projects"]
---

# Changes workflow on project

`PATCH /api/v2/projects/{id}/change_workflow`

Switches the project to a different task workflow, migrating its tasks to the new workflow's statuses according to the `map`.

```json
{
  "data": {
    "type": "projects",
    "attributes": {
      "workflow_id": 75,
      "map": { "101": 201, "102": 202 }
    }
  }
}
```

## Path parameters

- `id` string, required

## Headers

- `X-Organization-Id` string, required

## Response `200`

Single project

## Other responses

- `422` — Unprocessable Entity

---

[API](https://skmtc.dev/productive/apis/api-documentation.md) · [All operations](https://skmtc.dev/productive/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/productive/api-documentation/revisions/bbf5057edf0d/schema)
