Articles in this section
Category / Section

How to Remove a User from a Group using Bold BI REST API

Published:

In Bold BI, you may need to remove a user from a group for various reasons. This can be done using the REST API. Here’s a step-by-step guide on how to do it.

Step 1: Generate a Token

First, you need to generate a token. This can be done by creating a token using the following endpoint and request body:

https://{domain}/bi/api/site/<site_identifier>/token

The request body should look like this:

{
"username":"Username/Email",
"password": "password",
"grant_type":"password"
}

Step 2: Add Authorization Header

Next, add an authorization header with the generated access token. More information on this can be found in the Authentication section of the Bold BI REST API reference.

Step 3: Delete User from Group

To delete the user from the group, use the HTTP request method DELETE and call the endpoint with the group ID.

https://{domain}/bi/api/site/<site_identifier>/v4.0/groups/<group_id>/users

The user list should be passed in the body of the request, and the content-type should be set to application/json in the header.
rte_image_106.png

Step 4: Confirmation

Upon successful deletion of the user, you will receive a status of “204 No Content”.

References

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
IJ
Written by Israel Jebaraj Chandirakumar
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied