Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80925

Mendix API call to stop environment not working

$
0
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"
}


Viewing all articles
Browse latest Browse all 80925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>