POST/applications/{uuid}/restart

Restart an application

Restarts the specified application. Use uuid to identify the application to restart. The response includes a deployment UUID when one is created.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter
uuidstringrequired
The UUID of the application to restart.

4 status codes
200Returns a message and the UUID of the deployment associated with restarting the application.
deployment_uuidstringoptional
UUID of the deployment.
messagestringoptional
400Returned when the token is invalid.
messagestringoptional
401Returned when the request is unauthenticated.
messagestringoptional
404Returned when the application resource is not found.
messagestringoptional

Error handling

A 400 is returned for an invalid token, a 401 when the request is unauthenticated, and a 404 when the application resource is not found. The uuid path parameter must identify the application.