Group
List groups in the same workspace.
Which page to fetch
1Page size to use
30Group status
Filter groups by name (case-insensitive contains)
Only return groups that include this member (user id)
Sort by attribute
createdAtPossible values: Sort order
ascPossible values: Successful response
Current page
Next page or null if there is none
Previous page or null if there is none
Max count of items per page
Total count of items
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /rest/groups HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"page": 1,
"next": 1,
"prev": 1,
"pageSize": 1,
"total": 1,
"results": [
{
"id": "text",
"legacyId": 1,
"name": "text",
"description": "text",
"status": "ACTIVE",
"members": [
{
"id": "text",
"legacyId": 1,
"legacyViewAll": true,
"workspaceName": "text",
"name": "text",
"deviceUserId": "text",
"deviceType": "PSD",
"role": "ADMIN",
"pubKey": "text",
"status": "ACTIVE",
"isSuspended": true,
"createdAt": "text",
"updatedAt": "text"
}
],
"createdAt": "text",
"updatedAt": "text"
}
]
}Find a group by ID.
Id of the target group
Successful response
Group
Internal unique identifier
Legacy internal unique identifier (for retro-compatibility)
Group name
Group description
Group status
Creation timestamp
Last modification timestamp
Invalid input data
Authorization not provided
Insufficient access
Not found
Internal server error
GET /rest/groups/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"legacyId": 1,
"name": "text",
"description": "text",
"status": "ACTIVE",
"members": [
{
"id": "text",
"legacyId": 1,
"legacyViewAll": true,
"workspaceName": "text",
"name": "text",
"deviceUserId": "text",
"deviceType": "PSD",
"role": "ADMIN",
"pubKey": "text",
"status": "ACTIVE",
"isSuspended": true,
"createdAt": "text",
"updatedAt": "text"
}
],
"createdAt": "text",
"updatedAt": "text"
}Last updated