Created 01-20-2023 07:21 AM
I am trying to use kerberos authentication to hit a CM REST API endpoint. It keeps responding back with 401 Unauthorized and all the examples I have seen uses basic auth.
Does anyone know if this possible and give an example of how it could be done?
Created 01-23-2023 08:57 PM
HI @drewski7 , Can you please help us with the API you have used and the failure logs as well to check.
Created 01-24-2023 03:15 AM
Dear @drewski7 please use this api to get the result.
curl -X POST "https://dev-cm.sever.com:7183/api/v43/clusters/cluster-name/services/service/commands/restart" -H "accept: application/json" -k -u admin:pssword
replace api v43 version with ur version and cluster name. if you dont have tls change 7183 with 7180 and remove -k option