Hi there,
I would like to do 'Model replacement' by API automatically. However, when I use 'replace_model', I got the following error,
409 client error: {'message': 'Model replacement requires approval. Please create a corresponding change request.'}.
How can I create a corresponding change request except for UI?
Hello @yamachan_astro ,
The error is due to the deployment approval policies in place that admins have access to create /modify. More info docs .
I believe you can now create change request via API , added to our latest public api version 2.28. The set of APIs that you might want to check are - changeRequests/ & changeRequests/id/reviews/
API Docs link - approval workflow
Hope this help!