v1

latestOpenAPI 3.0.02026-07-14184214216.1 KB
data

Select columns by name

Makes the file have only the provided columns, in the specified order. Deletes all other columns. Always keeps the row number column.

post/dataset/{handle}/select-columns/by-name

Path parameters

handlestring required

Handle of the sheet

Request body

column_namesstring[]

Columns to select, in the order they should be in the file. The leftmost column will always be the row number column, even if not included here.

delete_all_othersboolean

If true, deletes all columns not included in column_names. If false, keeps all columns but moves the selected columns to be leftmost in the order provided. Defaults to false.

Response

OK

{"stackTrail":"paths:/dataset/{handle}/select-columns/by-name:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}