PUT
/
v2
/
apps
/
{app_id}
/
files
Create/Modify File
curl --request PUT \
  --url https://api.squarecloud.app/v2/apps/{app_id}/files \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "path": "<string>",
  "content": "<string>"
}'
{
    "status": "success"
}
Authorization
string
required
The API key for your account. You can find this in your account settings.
app_id
string
required
The ID of the application. You can find this in the URL of your application’s dashboard.
path
string
required
The path where the file should be created. Example: /test.txt
content
string
required
The content of the file to be created.

Response

status
string
Indicates whether the call was successful.. success if successful, error if not.
{
    "status": "success"
}