Perform an action on a container
post/midgard/v3.0/cloud/container/{action}/{containerId}
Performs an action on a container such as start, stop, restart, or destroy.
Request
Authorization
X-AT
header
apiKey
Path Parameters
actionThe action to perform on the container.
string
REQUIRED
containerIdThe ID of the container to perform the action on.
string
REQUIRED
Body
application/json
teplessIgnore errors concerning gateways during startup.
boolean
forceStopDo not wait for a graceful shutdown or updates but force stop the container.
boolean
Response
200Action performed successfully.
422Validation error occurred.
Shell cURL
shell
Show schema
json