07-31-2024 07:42 AM - edited 07-31-2024 07:51 AM
Hi Team,
Could you please confirm if we support password management through Webex Rest API and Webex XML API?
If yes, could you please share API?
Thanks,
Prashant
08-07-2024 09:25 PM
@Rudrakshi
Could you please advice ?
Thanks,
Prashant
08-07-2024 11:12 PM
Thanks for your patience so far!
So to answer your initial question regarding - "Could you please confirm if we support password management through Webex Rest API and Webex XML API?
If yes, could you please share API?"
No, unfortunately we don't have a API for managing password for any User at this moment.
And regarding the XML API sample you've shared comparing the Webex Account credentials details page, so I think you're trying to change the Password with that API Request and also entered a fresh new password for the Account - "prashant.chinchkar@sailpoint.com"
But that's not how this <forceChangePassword>true</forceChangePassword> actually works.
It means, on the next successful login to the Webex, this User - "prashant.chinchkar@sailpoint.com" should be forced for changing his password.
So, in case if you're using the new password for Webex login which you might have provided on the setUser API Request - I don't think that's going to work here and the error is expected.
If you've forgot the old password, then I'd recommend to use the "Forgot password" option from the Webex login screen.
Hope that helps here!
Regards!
Sandip
08-11-2024 11:33 PM
Thank you for your response @sandiban .
07-31-2024 10:15 PM
Adding to above.
I have checked and found that the SetUser XML API is being used for password management.
I used same to change webex id password. I received successful response but when I am trying to login with new changed password then I am getting below error
"You've entered an incorrect email address or password"
Request:
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:serv="http://www.webex.com/schemas/2002/06/service" xsi:schemaLocation="http://www.webex.com/schemas/2002/06/service">
<header>
<securityContext>
<webExID>parag.kaundanya@sailpoint.com</webExID>
<password>********</password>
<siteName>sailpointsiteadmin</siteName>
<partnerID>null</partnerID>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.user.SetUser">
<webExId>prashant.chinchkar@sailpoint.com</webExId>
<password>********</password><security><forceChangePassword>true</forceChangePassword></security></bodyContent>
</body>
</serv:message>
Response:
<?xml version="1.0" encoding="UTF-8"?><serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:use="http://www.webex.com/schemas/2002/06/service/user"><serv:header><serv:response><serv:result>SUCCESS</serv:result><serv:gsbStatus>PRIMARY</serv:gsbStatus></serv:response></serv:header><serv:body><serv:bodyContent xsi:type="use:setUserResponse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></serv:body></serv:message>
Screenshot:
Could you please advice?
Thanks,
Prashant.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide