Skip to main content
PUT
/
library
/
files
/
{fileId}
Replace file content
curl --request PUT \
  --url https://api.closebot.com/library/files/{fileId} \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-CB-KEY: <api-key>' \
  --form newFile='@example-file'

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

fileId
string
required

The ID of the file to update.

Body

multipart/form-data
newFile
file

Response

200

Success