---
title: "Update a Form Field"
method: POST
path: "/formfield/{uuid}.json"
tags: ["Form Fields"]
---

# Update a Form Field

`POST /formfield/{uuid}.json`

#### OAuth Scope
This endpoint requires the following OAuth scope **manage_forms**.

## Path parameters

- `uuid` string, uuid, required

## Request body

- FormFieldCreate
  - `form_uuid` string, uuid — The UUID of the form this field belongs to.
  - `name` string — The name of the form field.
  - `field_data_json` string — JSON configuration for this question, including type, mandatory, choices and conditions.
  - `sort_order` integer — The sort order of the form field.
  - `uuid` string, uuid — Unique identifier for this record

## Response `200`

Success - The record was updated successfully

- Result
  - `errorCode` number
  - `message` string

## Other responses

- `400` — Bad Request - The request is malformed or contains invalid parameters
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `403` — Forbidden - You don't have permission to update this resource
- `404` — Not Found - The record to update does not exist or has been deleted
- `429` — Too Many Requests - You have exceeded the rate limit
- `500` — Internal Server Error - An unexpected error occurred on the server

---

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