API ReferenceFiles

Update file upload

PATCH

Update a specific uploaded file. To get the file upload ID, use Get files list.

You will need to include the file data in the request body. For example:

$curl -H 'Authorization: Token abc123' \ -X POST 'https://localhost:8080/api/import/file-upload/245' -F ‘file=@path/to/my_file.csv’

Path parameters

idintegerRequired
A unique integer value identifying this file upload.

Request

This endpoint expects an object.
id
integerOptional
file
stringOptional

Response

This endpoint returns an object
id
integerOptional
file
stringOptional