curl --location --request GET 'https://api.synap.ac/v3/user-groups?limit=&offset='
{
"data": [
{
"id": "FID001",
"type": "UserGroup",
"attributes": {
"name": "string",
"description": "string",
"attr": {},
"isDefaultGroup": true,
"defaultGroupType": "string",
"isArchived": true,
"totalUsers": 0,
"parentId": "string",
"internal": true,
"membershipExpiryEnabled": true,
"membershipExpiryTimeToExpireInMs": 0
},
"relationships": {
"owner": {
"data": {
"id": "FID001",
"type": "User"
}
},
"userType": {
"data": {
"id": "FID001",
"type": "UserType"
}
},
"subPortal": {
"data": {
"id": "FID001",
"type": "SubPortal"
}
},
"parentGroup": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
}
}
}
],
"included": [
{
"id": "FID001",
"type": "_User",
"attributes": {},
"relationships": {
"property1": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
},
"property2": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
}
}
}
],
"meta": {
"total": 0,
"totalWithoutFilters": 0,
"pages": 0,
"page": 0,
"offset": 0,
"limit": 0,
"totalCount": 0,
"resultCount": 0,
"totalPages": 0,
"currentPage": 0
}
}