Environments

Deploy To Environment

Deploys a given variant to an environment

Args: environment_name: Name of the environment to deploy to. variant_id: variant id to deploy.

Raises: HTTPException: If the deployment fails.

post/environments/deploy

Request body

environment_namestring required
variant_idstring required
commit_messagestring nullable

Response

Successful Response

{"stackTrail":"paths:/environments/deploy:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes