Restart Deployment Stateless Resource

POST {{baseUrl}}/deployments/:deployment_id/:stateless_resource_kind/:ref_id/_restart?cancel_pending=false

Restarts a Stateless Resource. If a Resource is active: this command re-applies the existing plan but applies a cluster_reboot, which issues a restart command and waits for it to complete. If a Resource is inactive: this command starts it up with the most recent successful plan.

Request Params

KeyDatatypeRequiredDescription
cancel_pendingbooleanIf true, cancels any pending plans before restarting. If false and there are pending plans, returns an error.