Getting the Owner of a Group

You can get the group owner from one of the group fields.

Check the owner field that is returned as part of the group data by retrieving a group.

curl -v -X GET \
  -H "Authorization: Bearer {ACCESS_TOKEN}" \

The group data including the owner is returned as a 200 response as follows.

< 200 OK
< Content-Type: application/vnd.kii.GroupRetrievalResponse+json;charset=UTF-8
  "groupID" : "{GROUP_ID}",
  "name" : "{GROUP_NAME}",
  "owner" : "{GROUP_OWNER_USER_ID}",
  "createdAt" : {CREATED_DATE},
  "modifiedAt" : {LAST_MODIFIED_DATE}