---
title: "Delete a service account"
method: DELETE
path: "/orgs/{orgId}/service-accounts/{saId}"
tags: ["service-accounts"]
---

# Delete a service account

`DELETE /orgs/{orgId}/service-accounts/{saId}`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

## Path parameters

- `orgId` integer, required
- `saId` integer, required

## Response `204`

No content

## Other responses

- `400`: Bad request
- `403`: Operation not allowed
- `404`: Service accounts are not enabled for this organization
- `409`: Service account is bound to active agents
- `502`: Agent service unreachable, so agent bindings could not be verified

## Changes

> 19 revisions in range; 1 not diffed.

- **2026-10-06** `0e1a1696f553`: 3 info
  - added the non-success response with the status `404`
  - added the non-success response with the status `409`
  - added the non-success response with the status `502`
- **2026-09-28** `24f327d93421`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/seqeralabs/apis/seqera-api/changes/orgs/:orgId/service-accounts/:saId/delete.md)

---

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