Changing Python version for an existing deployed model with the REST API
You can update an existing Decision Optimization model using the watsonx.ai Runtime REST API. This can be useful, for example, if in your model you have explicitly specified a Python version that has now become deprecated.
Before you begin
About this task
For Windows users, use ^ instead of \ for the multi-line separator and double quotation marks " throughout these code examples. Windows users also need to use indentation of at least one character space in the header lines.
For clarity, some code examples in this procedure have been placed in a json file to make the commands more readable and easier to use.
Procedure
To change Python version for an existing deployed model:
Results
You can post new jobs using the DEPLOYMENT-ID without having to redeploy your model.