Get Group by ID

Get group by ID

get

This method returns the group that matches the entered ID.

Authorizations
X-Ledger-API-KeystringRequired

If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, see step 5 of the get started documentation.

X-Ledger-API-UserstringRequired

(required) Username of a registered API User

Path parameters
group_idintegerRequired

group's id

Responses
200

Group object

application/json
get
/groups/{group_id}
GET /groups/{group_id} HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
X-Ledger-API-User: YOUR_API_KEY
Accept: */*
{
  "created_by": 5,
  "created_on": "2025-11-14T17:57:12.683Z",
  "description": "group of trusted validators",
  "id": 1,
  "last_request": 3,
  "members": [
    11,
    12
  ],
  "name": "validators",
  "status": "ACTIVE"
}

Last updated