Containers
Restart a container
Restart a container. Requires the **operator** role.
udon_session<token>
In: cookie
Path Parameters
id*string
The container's id or name.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/containers/string/restart"{ "id": "string", "state": "string", "converged": true}Remove a container POST
Remove a container, optionally forcing it. Requires the **operator** role.
Run a container POST
Create and start a container from a `RunSpec`. Requires the **operator** role, or the **admin** role when the spec reaches the host through a host path in `volumes`, any `mounts`, `devices`, or `extraArgs`, an escalating capability in `capAdd`, or a shared host namespace such as host networking. Mounting the host root is refused for every role, and so is sharing a host namespace on OrbStack.