Unable to Create Groups for Collibra Protect
Hi everyone,
I just started using Collibra Protect on my UAT instance. However, I am unable to create a group for my Snowflake using the Collibra Protect API. I am receiving a status code 200 as a response but not 201. Here is the POST request :
const options = {
method: ‘POST’,
headers: {‘Content-Type’: ‘application/json’},
body: ‘{“name”:“Admin”,“mappings”:[{“provider”:“Snowflake”,“identity”:“ACCOUNTADMIN”}]}’
};
fetch(‘https://company.collibra.com/rest/protect/v1/groups’, options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
abhishekchand_raja
Posted 3 years ago · Edited 1 year ago·Last reply 3 years ago
3 comments
girdharisharma
·3 years ago · EditedHi Team,
I also want to add the groups, however we do not have the REST API’s to add the user, similar to adding Community, Domain & Assets.
kindly let me know if we have any and provide the link. I have already add the roles & permissions mentioned in the above.
Thanks & Regards
Girdhari Sharma
woutercordewiner
·3 years ago · EditedHi, @abhishek.chand.raja, I understood you ran into the issue that you get a 403 when trying to create the group(s). The Collibra user performing the REST call requires either the Global role “Protect Author” or “Protect Admin” role. Below a screenshot of the roles I mentioned.
More information on the roles can be found at https://productresources.collibra.com/docs/collibra/latest/Content/Protect/co_protect-roles.htm
Hope this helps,
Wouter
Alexandra Jorgenson
Admin3 years ago · Edited@abhishek.chand.raja One of our engineers (@wouter.cordewiner.collibra.com) had these comments: