---
title: "Updates the order of a custom field definition linked to a workflow."
method: PUT
path: "/workflows/{workflowId}/customfielddefinitions/{customFieldDefinitionId}"
tags: ["customFields"]
---

# Updates the order of a custom field definition linked to a workflow.

`PUT /workflows/{workflowId}/customfielddefinitions/{customFieldDefinitionId}`

<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
- `customFieldDefinitionId` string, uuid, required

## Headers

- `Authorization` string, required

## Request body

- CustomFieldOrderPutForm
  - `order` number, double, required — The order of the custom field definition within a project template or a project.

## Response `200`

OK

- CustomFieldOrderForm
  - `order` number, double — The order of the custom field definition within a project template or a project.

## Other responses

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