---
title: "Updates a project status for the specified workflow."
method: PUT
path: "/workflows/{workflowId}/projectstatuses/{projectStatusId}"
tags: ["workflows"]
---

# Updates a project status for the specified workflow.

`PUT /workflows/{workflowId}/projectstatuses/{projectStatusId}`

<Check title="Required Permissions" icon="key">The user must be an admin or have `project-manage-config:write` permissions.</Check>

## Path parameters

- `workflowId` string, uuid, required
- `projectStatusId` string, uuid, required

## Headers

- `Authorization` string, required

## Request body

- ProjectStatusForm
  - `name` string, required — The name of the project status.
  - `type` string, required — Specifies the general type of this project status. Accepted values: 'progress', 'not-started', 'closed', 'stuck

## Response `200`

OK

- ProjectStatus
  - `id` string, uuid — The primary identifier of this project status.
  - `name` string, nullable — The name of the project status.
  - `type` string, nullable — The general type of this project status.
  - `order` integer, nullable — The order of this status.
  - `createdOn` string, date-time — The date this entity was created.
  - `createdBy` string, uuid — The id of the user who created this entity.
  - `updatedOn` string, date-time — The date this entity was last modified.
  - `projectTemplateId` string, uuid, nullable — The id of the project template of the status.
  - `projectId` string, uuid, nullable — The id of the project the status belongs to.
  - `workflowId` string, uuid, nullable — The id of the workflow linked to this project status.
  - `updatedBy` string, uuid — The id of the user who last modified this entity.
  - `isExternal` boolean — True if the project status is coming from an external workspace (awork Connect).

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

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