Skip to main content

Rename the fields of an entity

POST 

/v1/builder/tools/rename_entity_fields

Changes an existing entity: renames its fields — the labels the blocks show (table headers, card labels) — and, optionally, the entity itself, and can set its owner field (the titular: whose record it is). Use it when the labels came from the source in English or as raw keys ("Expire at", "customer_cnpj_cpf"): customers read them, so they go in Brazilian Portuguese; and when the owner is wrong or missing (a customers entity owns its records by its own id). Keys stay; a new owner maps the stored records again. It takes effect in the workspace right away, not in the draft.

Request​

Responses​

What the tool did, in data, and the draft's new revision (the same as before when nothing changed).