How to generate Bearer token to use in userroleassignments API call

Hi All,

I am trying to make an API call via POSTMAN to get the user role assignments for all the user s in our tenants.

How to generate the Bearer token to use for authorization? where to find application secret

Thanks.

Hi @manohar.patil

You will have to register an external application in automation cloud → admin → external application.

And then assign the required application scope there. Once done, you will get a id and secret, copy the same and use it in postman to get access token.

Then refer below to configure request in postman.

@manohar.patil

Welcome to Community!!

Follow below tutorials you may get better idea

In this tutorial mentioned step by step process, you can get clear idea on this follow each step you can achieve your scenario.

Please mark solution if you find it helpful!!

Happy Automation!!

Hi @manohar.patil

Pls check below link, might be helpful,

Happy Automation