---
title: "Delete nultiple service account"
method: DELETE
path: "/api/{org_id}/service_accounts/bulk"
tags: ["ServiceAccounts"]
---

# Delete nultiple service account

`DELETE /api/{org_id}/service_accounts/bulk`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/service_accounts/bulk`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/service_accounts/bulk/delete.ts> (a function with typed inputs; its response is checked against the schema)

Permanently removes multiple service accounts from the organization. This action immediately invalidates the associated API token and revokes all access permissions for the service account. Use this when decommissioning automated systems or cleaning up unused accounts. This operation cannot be undone.

## Path parameters

- `org_id` string, required

## Request body

- BulkDeleteRequest
  - `ids` string[], required

## Response `200`

Success

- BulkDeleteResponse
  - `err` string, nullable
  - `successful` string[], required
  - `unsuccessful` string[], required

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
