Skip to content

Create a new group with the original caller as the OWNER of the group being created

Request

This creates a new group with the original caller as the OWNER of the group being created. Required roles: users.datalake.admins

Security
bearer
Headers
data-partition-idstringrequired

desired data partition id

Bodyapplication/json

Payload

namestringrequired
Example:"users.example.viewers"
descriptionstring
Example:"This is an user group for example viewers."
curl -i -X POST \
  https://as5.api.enterprisedata.slb.com/api/entitlements/v2/groups \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'data-partition-id: string' \
  -d '{
    "name": "users.example.viewers",
    "description": "This is an user group for example viewers."
  }'

Responses

Group details

Bodyapplication/json
namestring
Example:"users.example.viewers,"
emailstring
Example:"users.datalake.viewers@{datapartition}.{domain}.com,"
descriptionstring
Example:"This is an user group for example viewers."
Response
{ "name": "users.example.viewers,", "email": "users.datalake.viewers@{datapartition}.{domain}.com,", "description": "This is an user group for example viewers." }