Ops Center

 Authentication against ops center common services, and using rest api of ops center administrator

Radim Keske's profile image
Radim Keske posted 10-27-2022 09:46

Hello, 


I can get Authorization Bearer token from OPS center common services, but I am unable to fire requests to OPS center administrator rest api with such token. Is there a prefered way, how to authenticate oneself against common services, and then smoothly transition requests to OPS center administrator API? Could you show me?

I can use OPS center Administrator rest api well with sysadmin local credentials. But am unable to use Administrator rest api as user authenticated against common services. 

Please help,

thanks, Radim

PS: attached image is screenshot from ops center administrator rest api docs, which says that I cannot use bearer token. So what can I do?

Attachment  View in library
image.png 46 KB
Prasenjit Chatterjee's profile image
Prasenjit Chatterjee

Hello Radim,

You can generate a session token in the Administrator by using the Administrator API then that token can be used for subsequent API queries. Please go through the attached document and see the page no. 20 for more details. Hope this will help.