---
title: "Updates the order of a project status within a project template."
method: POST
path: "/projecttemplates/{projectTemplateId}/updateprojectstatusorder"
tags: ["projectTemplates"]
---

# Updates the order of a project status within a project template.

`POST /projecttemplates/{projectTemplateId}/updateprojectstatusorder`

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

## Path parameters

- `projectTemplateId` string, uuid, required

## Headers

- `Authorization` string, required

## Request body

- UpdateProjectStatusOrderForm
  - `projectStatusId` string, uuid, required — The id of the project status.
  - `order` integer, nullable — The order value which determines the position of the project status in the flow of the project type. Only accepts 0 and positive values. For independent statuses without successor and predecessor this value is set to null.

## Response `204`

No Content

- object

## 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)
