put
https://{hostname}/delivery-manager/v1/workspaces//environments//versions/
This operation modifies the origins and rule sets of your existing environment version. You can modify the default rule set that applies to all requests for your application or service, add or remove rule sets and origins you want to apply to your version, and change the order in which rule sets execute. You can modify a version until it's activated. Once you activate a version, you need to create a new one to edit its settings.
