Deployment group
Update deployment group
Updates a deployment group's status or strategy data.
patch/deployment_group/{id}
Path parameters
idstring required
The ID of the deployment group to update.
Request body
Example request
{
"status": "running",
"strategy_data": {
"switched_traffic": 30,
"desired_switched_traffic": 50,
"amount_instances_to_wait": 5,
"healthy_instances": 3,
"launched_instances": 5,
"switch_traffic_step": true
}
}Response
The operation was successful.
Example response
{
"id": "1",
"status": "running",
"deployments": [
{
"strategy": "blue_green",
"strategy_data": {
"switched_traffic": 30,
"desired_switched_traffic": 50,
"amount_instances_to_wait": 5,
"healthy_instances": 3,
"launched_instances": 5,
"switch_traffic_step": true
}
}
],
"scopes": [
{
"name": "AR - Staging"
}
],
"strategy_data": {
"switched_traffic": 30,
"desired_switched_traffic": 50,
"amount_instances_to_wait": 5,
"healthy_instances": 3,
"launched_instances": 5,
"switch_traffic_step": true
},
"application_id": "6789",
"release_id": "5678",
"deployments_amount": 5,
"created_at": "2023-10-01T12:34:56Z",
"updated_at": "2023-10-01T12:34:56Z"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.