# Update file format Endpoint: PUT /file-formats/{fileFormatId} Version: 5.1.43 Security: api_key ## Path parameters: - `fileFormatId` (integer, required) The ID of the file format to update ## Request fields (application/json): - `header` (integer) The number of lines at the beginning of the file to skip. Example: 2 - `footer` (integer) The number of lines at the end of the file to skip. Example: 1 ## Response 201 fields (application/json): - `fileFormatId` (integer) The ID number of the file format. This field is auto-generated by the Masking Engine. Example: "3" - `fileFormatName` (string) The name of the file format, as inferred from the uploaded file. Example: "DelimitedFileFormat.txt" - `fileFormatType` (string) The type of file that this file format describes. Enum: "DELIMITED", "FIXED_WIDTH", "XML", "JSON", "PARQUET" - `header` (integer) The number of lines at the beginning of the file to skip. Example: 2 - `footer` (integer) The number of lines at the end of the file to skip. Example: 1 - `wholeFileMasking` (boolean) This flag indicates if the file format is associated with a file to be read as whole or line-by-line (Only for FIXED_WIDTH file type). For example, if the whole file masking is true, then the whole file will be read as a single record, rather than reading it line by line. - `fieldsCount` (integer) This returns the number of fields present in a file format. ## Response 400 fields ## Response 403 fields ## Response 404 fields