---
title: "Search ServiceAccounts under an Organization."
method: GET
path: "/v1/serviceaccounts:search"
tags: ["ServiceAccounts"]
---

# Search ServiceAccounts under an Organization.

`GET /v1/serviceaccounts:search`

## Query parameters

- `query` string
- `page_size` integer
- `page_token` string

## Response `200`

A successful response.

- ListServiceAccountsResponse
  - `service_accounts` ServiceAccount[] — Paginated list of ServiceAccount resources.
    - `name` string — The resource name of the ServiceAccount. Should match the pattern `serviceaccounts/{serviceaccount_id}`.
    - `display_name` string — A user defined name for the ServiceAccount.
    - `create_time` string, date-time
    - `update_time` string, date-time
  - `next_page_token` string — Token to retrieve the next page of results, or empty if there are no more results in the list.

## Other responses

- `400` — Returned when the request is malformed or missing required fields.
- `401` — Returned when the caller does not have permission to access the resource.
- `404` — Returned when the resource does not exist.
- `429` — Returned when the caller has exceeded the rate limit.
- `500` — Server error

---

[API](https://skmtc.net/particlehealth/apis/particle-health-api.md) · [All operations](https://skmtc.net/particlehealth/apis/particle-health-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/particlehealth/particle-health-api/revisions/5aead0b7515e/schema)
