--- title: "MapFieldNames" slug: "mapfieldnames" updated: 2023-10-10T09:21:01Z published: 2023-10-10T09:21:01Z canonical: "docs.datajet.app/mapfieldnames" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # MapFieldNames Bulk rename of a list of fields in an individual table. | Key | Value(s) | Description | | --- | --- | --- | | method | "MapFieldNames" | Bulk rename of a list of fields in an individual table. | | project | "CurrentProjectName" | Current Project name | | table | "TargetTableName" | Table containing fields to be renamed | | fields | [ {"sourceName":"oldname1" , "targetName","newname1"}, {"sourceName":"oldname2" , "targetName","newname2"} ] | Array of sourcename/targetname pairs to rename | InjectTablesMapFieldNames is not supported on [injected tables](/v1/docs/deep-dive-sharing-data-by-injection). ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/image-1695809949909.png) ```json { "method": "MapFieldNames", "table": "DELTA", "fields": [ { "sourceName": "test", "targetName": "index" } ], "description": "Rename test to index", "project": "Issues" } ```