I am trying to stop/restart a CloudHub Mule application using the rest API endpoint.
I am following this link: https://help.mulesoft.com/s/article/How-to-start-stop-or-restart-a-CloudHub-Application-using-CloudHub-REST-APIs
I am trying to get a Bearer token as per this link (OAuth using a Client ID and secret): https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/access-management-api/minor/1.0/pages/Authentication/
But we have Organizational level client id and secret, Environment level client id and secret, and Application level client id and secret.
Which client id/secret is needed to restart the application? I tried all 3 but had no luck.
NOTE: We are using Single sign-on using Microsoft 360
The link says to pass EnvironmentID in the header, but is the key name "EnvironmentID" or different?