Skip to main content
GET
/
v1
/
groups
List Groups
curl --request GET \
  --url https://identity.sandbox.lerian.net/v1/groups \
  --header 'Authorization: Bearer <token>'
[
  {
    "createdAt": "2025-04-08T08:01:30.169Z",
    "id": "midaz-viewer-group",
    "name": "Midaz Viewer",
    "users": [
      "johndoe",
      "janedoe"
    ]
  },
  {
    "createdAt": "2025-04-07T18:57:57.312Z",
    "id": "midaz-editor-group",
    "name": "Midaz Editor",
    "users": [
      "johnsmith"
    ]
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The authorization token in the 'Bearer ' format.

Response

The list of all predefined groups available in the system.

createdAt
string

Timestamp of when the group was created.

id
string

Unique identifier of the group.

name
string

Display name of the group.

users
string[]

List of users assigned to the group.