---
title: "Get all groups on porfolio account"
method: GET
path: "/portfolio/accounts/{accountId}/groups"
tags: ["Portfolio Groups"]
---

# Get all groups on porfolio account

`GET /portfolio/accounts/{accountId}/groups`

## Request

- Base URL: `https://eliq.data-management-api.eliq.com` (the document declares no server; this is the origin it was published from)
- URL: `https://eliq.data-management-api.eliq.com/portfolio/accounts/{accountId}/groups`
- Auth: none declared
- TypeScript: <https://skmtc.dev/eliq/apis/eliq-data-management-api/docs/portfolio/accounts/:accountId/groups/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountId` string, required

## Response `200`

Ok

- PortfolioGroup[]
  - `id` string, uuid
  - `name` string, nullable
  - `status` 'in_progress' | 'active' | 'disabled'
  - `created_at_utc` string
  - `created_by_user_id` string, nullable
  - `users` PortfolioUser[], nullable
    - `id` string, nullable
    - `name` string, required
    - `role` 'user' | 'admin' | 'owner', required
    - `created_at_utc` string
    - `last_logon_utc` string, nullable
    - `magic_link_emails` string[], nullable
  - `locations` PortfolioLocation[], nullable
    - `id` string, nullable
    - `name` string, required
    - `created_at_utc` string
  - `created_by_user` PortfolioUser
    - `id` string, nullable
    - `name` string, required
    - `role` 'user' | 'admin' | 'owner', required
    - `created_at_utc` string
    - `last_logon_utc` string, nullable
    - `magic_link_emails` string[], nullable

## Other responses

- `400`: Bad request. See error code and description for more info
- `404`: Portfolio account was not found

---

[API](https://skmtc.dev/eliq/apis/eliq-data-management-api.md) - [All operations](https://skmtc.dev/eliq/apis/eliq-data-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/eliq/apis/eliq-data-management-api/revisions/9614ae7d0651?raw)
