Mendix API call to stop environment not working

0
I'm trying to stop the environments for my app using the Mendix Stop Environment API (https://docs.mendix.com/apidocs-mxsdk/apidocs/deploy-api#stop-environment) Environment fails to stop. Any idea what should be different when using this api? Request curl --request POST \   --url https://deploy.mendix.com/api/1/apps/myapp/environments/Test/Stop \   --header 'accept: */*' \   --header 'mendix-apikey: xxxx-8b97-xxx-bbfb-xxxx' \   --header 'mendix-username: viral@mymail.com' \   Response Code: 500 Internal server error Response: {     "errorMessage": "Cannot stop app: RuntimeStopFailed",     "errorCode": "STOP_FAILED" }
asked
1 answers
2

The start and stop environment calls of the Mendix Deployment API are currently broken in the V4 cloud, they only work on V3. I've submitted a ticket for this with Mendix support on the 12th of June and they should be working on it.

answered