I need to schedule a release deployment via Azure DevOps' API.
The release is pending approval and via the interface I can schedule the deployment:

Via the API there is no option for it (documentation).
The only options I have are approved, canceled, pending, reassigned, rejected, skipped or undefined.
So I tried to patch the release environment itself (documentation) by changing it to "scheduled":
PATCH https://vsrm.dev.azure.com/jato-jaas/Services/_apis/Release/releases/{releaseId}/environments/{environmentId}?api-version=6.0-preview.6
{
"status": "scheduled",
"scheduledDeploymentTime": "2022-06-28T16:00:00Z",
"variables": {},
"comment": "Automated deployment"
}
When I call the API I receive this response: Transitioning of stage from state 'InProgress' to state 'Scheduled' is not allowed.
How can I schedule a release that is waiting for approval via the API? I know how to "start" a release with a schedule, but this is not what I need.
