---
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`

## Request

- Base URL: `https://api.awork.com/api/v1`
- URL: `https://api.awork.com/api/v1/projecttemplates/{projectTemplateId}/automations/{automationId}/actions/{actionId}/updateorder`
- Auth: HTTP bearer

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

## Request body

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

## Response `204`

No Content

- object

## Other responses

- `400`: Bad Request

## Changes

- **2026-09-17** `1556e0487867`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `oauth2` was added to the API
- **2026-09-12** `8e46cf415581`: 1 info
  - api operation id `PostUpdateProjectTemplateAutomationActionOrder` removed and replaced with `projectTemplateAutomations_PostUpdateProjectTemplateAutomationActionOrder`

[Operation history](https://skmtc.dev/awork-io/apis/api-v1-reference/changes/projecttemplates/:projectTemplateId/automations/:automationId/actions/:actionId/updateorder/post.md)

---

[API](https://skmtc.dev/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.dev/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc.dev/awork-io/apis/api-v1-reference/revisions/81151fac7e79?raw)
