Super Admin Users

Get users by organization ID

Changed on

Retrieve paginated users that belong to the specified organization. This endpoint is only accessible to super admins.

get/super-admin/users/{orgId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

orgIdstring uuid required
Example:123e4567-e89b-12d3-a456-426614174000

Organization ID to get users for

Query parameters

searchstring
Example:john

Search users by name or email

limitnumber
Example:25

Maximum number of users to return (default: 25)

offsetnumber

Number of users to skip (default: 0)

Response

Successfully retrieved users in the organization

Example response

{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "John Doe",
      "email": "john.doe@example.com",
      "role": "user",
      "orgId": "123e4567-e89b-12d3-a456-426614174001",
      "department": "hauptamt",
      "createdAt": "2024-01-15T10:30:00Z"
    }
  ],
  "pagination": {
    "limit": 50,
    "total": 150
  }
}

Changes