cURL
curl --request PATCH \ --url {schemes}://api.upsun.com/projects/{projectId}/environments/{environmentId}/versions/{versionId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "routing": { "percentage": 123 } } '
{ "status": "<string>", "code": 123 }
Update the {versionId} version. A routing percentage for this version may be specified for staged rollouts (if the deployment target supports it).
{versionId}
Configuration about the traffic routed to this version
Show child attributes
The status text of the response
The status code of the response