Skip to main content
PUT
/
api
/
v1
/
files
/
{file_path}
Upload File
curl --request PUT \
  --url https://api.example.com/api/v1/files/{file_path} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "filePath": "<string>",
  "contentType": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_path
string
required

Query Parameters

strict
boolean
default:false

Body

multipart/form-data
file
file
required

Response

File uploaded successfully

filePath
string
required
contentType
string
required