Edit an existing file

Overwrites the contents of an existing file at the given path. Useful for quick code or config edits from the API. Returns the updated file path.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the Site you are interacting with

Body Params

Upload a new file.

string
required

Name of the file

string
required

Path to the file

string
required

Content of the file

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json