Retrieve a Group
Retrieve a Group by ID.
GET
/api/scim/v2/Groups/{id}
Headers
Key | Value |
---|---|
Accept | application/json |
Authorization | Bearer <API Token> |
Path Parameter
id
(required): Group ID to retrieve the specific group.
Example cURL
curl --location 'http://localhost:8080/api/scim/v2/Groups/group-123' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
Responses
Status Code | Description | Response |
---|---|---|
200 | Group retrieved successfully | application/json |
400 | Invalid Request | empty |
401 | Unauthorized | empty |
500 | Internal Server Error | empty |
Sample response
200 : Group retrieved successfully
{
"id": "123",
"displayName": "Developers",
"members": [
{
"value": 1,
"display": "user1@example.com"
},
{
"value": 2,
"display": "user2@example.com"
}
],
"meta": {
"location": "http://localhost:8080/api/scim/v2/Groups/group-123",
"created": "2023-08-04T08:38:02.3732123Z"
}
}