Skip to main content

Restart Docker Container

POST 

https://cloud.agenta.ai/api/containers/restart_container

Restart docker container.

Args: payload (RestartAppContainer) -- the required data (app_name and variant_name)

Request

Body

required

    variant_id Variant Id (string)required

Responses

Successful Response

Schema

    object

curl -L 'https://cloud.agenta.ai/api/containers/restart_container' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"variant_id": "string"
}'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Body required
{
  "variant_id": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!