Skip to content

Entitlements Groups Administration

Group creation and listing groups for a member.

List all the groups that the user belongs to in the given data partition.

Request

This API lists all the groups that the user belongs to in the given data partition. Required roles: users.datalake.viewers

Security
bearer
Headers
data-partition-idstringrequired

desired data partition id

curl -i -X GET \
  https://as5.api.enterprisedata.slb.com/api/entitlements/v2/groups \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'data-partition-id: string'

Responses

List of groups

Bodyapplication/json
groupsArray of objects(GroupRes)
Example:
[ { "name": "users.example.viewers,", "email": "users.datalake.viewers@{datapartition}.{domain}.com,", "description": "This is an user group for example viewers." } ]
Response
{ "groups": [ { … } ] }