curl --request POST \
--url https://{api_endpoint}/api/v1/orchestrate/agents/{id}/releases/{version}/environment/{env_id} \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Switch current agent version of an environment to a new version.
curl --request POST \
--url https://{api_endpoint}/api/v1/orchestrate/agents/{id}/releases/{version}/environment/{env_id} \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}