Create a file, or replace the content of an existing one, with at most 1 MB. The folder must exist. The file is stored byte for byte as sent.Replacing a file cannot be undone; send overwrite: false to only create (409 when the file exists). A folder or link with that name is never replaced.File contents are not stored in the API request log.Scope: hosting-files:write.
Request
Authorization
API Key
Add parameter in header
API-key
Example:
API-key: ********************
or
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.