---
title: "Update %grammar %alias section or field information"
method: PUT
path: "/objects/fieldeditor"
tags: ["objects"]
---

# Update %grammar %alias section or field information

`PUT /objects/fieldeditor`

Update the section and field names, reorder fields or add new fields to an existing section.

## Request body

- ObjectFieldeditor
  - `objectID` integer, required
  - `name` string
  - `description` string
  - `fields` array[]
    - FieldeditorField[]
      - `alias` string
      - `type` string
      - `required` integer
      - `unique` integer
      - `options` FieldeditorOptions
        - `add` string[]
        - `remove` string[]
        - `replace` string[]

## Response `200`

Successful object query

- Response
  - `code` integer, required
  - `data` object, required
  - `account_id` integer, required

---

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