---
title: "List all accounts"
method: GET
path: "/v1/enterprise/account"
tags: ["Enterprise"]
---

# List all accounts

`GET /v1/enterprise/account`

Retrieves a list of all child organizations that belong to the enterprise.

## Response `200`

A list of child organizations is returned on success.

- EnterpriseResource[]
  - `account` string — Account number of the organization
  - `enterprise` string — Unique Id of the enterprise organization
  - `retention` integer — Current retention period selected for the child organization
  - `owner` string — The email of a user to be given owner privileges of an account.
  - `retentionPeriods` Retention[] — Available log retention options for the child organization
  - `plan` string — The name of a plan.
  - `servicekey` string — A secret key which can be used to authenticate requests to Mezmo.

## Other responses

- `400` — A poorly formatted request returns with a `BadRequest` code.

---

[API](https://skmtc.net/mezmo/apis/pipeline-api.md) · [All operations](https://skmtc.net/mezmo/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mezmo/pipeline-api/revisions/fb2535545d90/schema)
