---
title: "Updates the order of a project template automation action."
method: POST
path: "/projecttemplates/{projectTemplateId}/automations/{automationId}/actions/{actionId}/updateorder"
tags: ["projectTemplateAutomations"]
---

# Updates the order of a project template automation action.

`POST /projecttemplates/{projectTemplateId}/automations/{automationId}/actions/{actionId}/updateorder`

Actions of automations created from a workflow cannot be modified.

<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
- `automationId` string, uuid, required
- `actionId` string, uuid, required

## Headers

- `Authorization` string, required

## Request body

- UpdateOrderForm
  - `order` number, double, nullable — The order of the list.

## Response `204`

No Content

- object

## Other responses

- `400` — Bad Request

---

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