Skip to main content

Deploy To Environment

POST 

/environments/deploy

Deploys a given variant to an environment

Args: environment_name: Name of the environment to deploy to. variant_id: variant id to deploy. stoken_session: . Defaults to Depends(verify_session()).

Raises: HTTPException: If the deployment fails.

Request

Body

required

    environment_name Environment Name (string)required
    variant_id Variant Id (string)required

Responses

Successful Response

Schema

    any

Loading...