How to generate Access Token from User Management Server using Bold BI REST API?
Bold BI REST API endpoints are protected by OAuth 2.0. To access REST API services protected by OAuth 2.0, you need to obtain an access token. This access token acts as a key that grants permission to access the protected resources.
Get Client Credentials
- Navigate the following page in the UMS -> Settings -> API Keys.
Note: You can use the following URL - https://{your_domain}/ums/administration/api-keys to access the page directly.
- You can obtain the Client ID and the Secret from this page.
Generate Access Token
- You can get the access token using the following API endpoint.
{base url}/api/tokenMETHOD POST URL /api/token Include the following parameters in the body of the request:
grant_type: client_credentials
client_id: your client ID
client_secret: your client secret
You will also need to include the appropriate headers for the API, such as
Content-Type: application/x-www-form-urlencoded.
- You can now get an access token using the API, and a status of 200 denotes a successful retrieval of the access token.
- For any subsequent API requests, please include the access token in the Authorization header. This access token is valid for 60 minutes from the time it is generated.
- How to Add a new User to the user management server using Bold BI REST API
How to Grant Site Access to the User in the user management server using the Bold BI REST API
How to Remove Site Access to the User in user management server using Bold BI REST API
How to Delete the User from user management server using Bold BI REST API