Skip to main content
POST
Restart Application
string
required
The application ID to restart. If the application belongs to a workspace, pass its ID in the workspace_id query parameter.
string
If the application belongs to a workspace, the workspace’s ID. Required for workspace members acting on an application they don’t own.
When the application’s language has changed, the dependencies of the previous language are removed automatically on the restart.
boolean
Optional. Reinstalls the application’s dependencies from scratch, ignoring the install cache — the equivalent of Reinstall dependencies in the application’s More actions menu in the dashboard. Use it when a dependency folder is corrupted or a package was installed by hand and needs to go. Counts toward your plan’s hourly deploy limit.
boolean
Optional. Runs the application’s build command again even if no source file changed since the last build — the equivalent of Force build in the application’s More actions menu in the dashboard. Only meaningful when the application has a build command. Counts toward your plan’s hourly deploy limit.

Response

object
The response containing the operation status.

Error Responses

string
The error code indicating the reason for the failure. Possible values:
  • APP_NOT_FOUND: The specified application was not found.
  • ACCESS_DENIED: You are a workspace member without the permission for this action, or you did not send the workspace_id (403).
  • DEPLOY_RATE_LIMITED: reinstall_dependencies or force_build was sent and the plan’s hourly deploy limit is exhausted (429); details carries limit, window_seconds and retry_after.
  • PLAN_REQUIRED: The account that owns the application has no active plan (403). Subscribe to a plan to continue.
  • APP_SHIELD_COOLDOWN: Vertra Shield paused the application; this action is blocked until the pause ends (403). details.until says when.
  • VALIDATION_ERROR: The application has a start or build command with a line break, saved before commands had to be a single line (400). details.path is start_command or build_command. Save a single-line command in Update Application Configuration and try again.
    • OPERATION_IN_PROGRESS: Another lifecycle operation on the same application is already running (409). The container was not touched — wait a few seconds and retry. See Common Error Codes.
This route shares a budget of 10 requests per minute per application with start and stop. With reinstall_dependencies or force_build, it also consumes one slot of your plan’s hourly deploy limit. See Rate Limiting.
Last modified on November 24, 2026