I'm trying to follow the instructions to set the proxy deployment type for APIs, programmatically to scipted by means of:
PUT /deployments/0.1/proxies/{proxy-uuid}/deployment-type/{entity}
the examples are unclear.
Release : 5.1.2
If you need to set the proxy to "scripted: the trick is to use "MANUAL" as keyword.
The following examples should work
curl --include --header "Authorization:Bearer b83a6962-266e-443b-be88-6485da1c8b6e" --header "Content-Type:application/json" \ --data '{ "type": "ON_DEMAND" }' \ --request PUT "https://apim-ssg.portaldomain:9443/tenantid/deployments/0.1/proxies/a60d871f-4acb-4a46-8ece-b84ae4cc7909/deployment-type/api"
curl --include --header "Authorization:Bearer b83a6962-266e-443b-be88-6485da1c8b6e" --header "Content-Type:application/json" \ --data '{ "type": "AUTOMATIC" }' \ --request PUT "https://apim-ssg.portaldomain:9443/tenantid/deployments/0.1/proxies/a60d871f-4acb-4a46-8ece-b84ae4cc7909/deployment-type/api"
curl --include --header "Authorization:Bearer b83a6962-266e-443b-be88-6485da1c8b6e" --header "Content-Type:application/json" \ --data '{ "type": "MANUAL" }' \ --request PUT "https://apim-ssg.portaldomain:9443/tenantid/deployments/0.1/proxies/a60d871f-4acb-4a46-8ece-b84ae4cc7909/deployment-type/api"