---
title: "List Flight Hub service accounts"
method: GET
path: "/orgmng/fh-service-accounts"
tags: ["Flight Hub Service Accounts"]
---

# List Flight Hub service accounts

`GET /orgmng/fh-service-accounts`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/orgmng/fh-service-accounts`
- Auth: API key in header `x-auth-token`

Retrieves a paginated list of active Flight Hub service accounts. Passwords are not included.

## Query parameters

- `page` integer
- `size` integer
- `sort` string: Sort criteria. Prefer Spring-style repeated params, e.g. sort=status,DESC&sort=id,DESC. Each value is `field` (default DESC) or `field,DIR`. Repeated sort params are joined by the binder; a single value such as status,DESC,id,DESC is also accepted. Invalid formats fall back to id,DESC.
- `organizationId` integer

## Response `200`

Service accounts retrieved successfully

- PageDTO: Paginated response
  - `content` object[]: List of items
  - `page` integer: Current page number (0-based)
  - `size` integer: Number of items per page
  - `totalElements` integer: Total number of elements across all pages
  - `totalPages` integer: Total number of pages
  - `first` boolean: Whether this is the first page
  - `last` boolean: Whether this is the last page
  - `empty` boolean: Whether the page is empty

## Other responses

- `500`: Internal server error

---

[API](https://skmtc.dev/airdodge/apis/api-core.md) - [All operations](https://skmtc.dev/airdodge/apis/api-core/llms.txt) - [OpenAPI document](https://skmtc.dev/airdodge/apis/api-core/revisions/fb3c5a1055cc?raw)
