Application
Commit Application Changes
Send a change to your application. (yellow category)
POST
/
v2
/
apps
/
{app_id}
/
commit
Header
Path
Query
Body
curl --request POST \
--url https://api.squarecloud.app/v2/apps/{app_id}/commit \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"status": "success"
}
Authorization
string
requiredThe API key for your account. You can find this in your account settings.
app_id
string
requiredThe ID of the application. You can find this in the URL of your application’s dashboard.
file
file
requiredUse FormData or NodeJS Buffer (single file or compress [zip])
restart
boolean
Set to true if you want to restart the application after the commit. Default is true.
Response
status
string
Indicates whether the call was successful. “success” if successful, “error” if not.
message
string
A message indicating the status of the commit.
Was this page helpful?
curl --request POST \
--url https://api.squarecloud.app/v2/apps/{app_id}/commit \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"status": "success"
}