---
title: "DELETE /gateway/v2/service-account"
method: DELETE
path: "/gateway/v2/service-account"
tags: ["cli_gateway-service-account_gateway_v2_10"]
---

# DELETE /gateway/v2/service-account

`DELETE /gateway/v2/service-account`

## Request

- Base URL: `https://developers.conduktor.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.conduktor.io/gateway/v2/service-account`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-gateway-api/docs/gateway/v2/service-account/delete.ts> (a function with typed inputs; its response is checked against the schema)

[![Generally Available](https://img.shields.io/badge/Lifecycle-Generally%20Available-blue)](#tag/Versioning)

Delete a service account

## Request body

- GatewayServiceAccountId
  - `vCluster` string: The name of the virtual cluster the service account belongs to. If not provided, the service account will be created in the default `passthrough` virtual cluster.
  - `name` string, required: The name of the service account (identifier)

## Response `204`

## Other responses

- `400`: Service accounts are not supported: requires a SASL listener, mTLS, or Kafka managed security mode.
- `401`: The given credentials are not valid
- `404`: The service account ... does not exist.
- `409`: The service account is still used by groups
- `500`: An unexpected error occurred in the server

---

[API](https://skmtc.dev/conduktor/apis/conduktor-gateway-api.md) - [All operations](https://skmtc.dev/conduktor/apis/conduktor-gateway-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conduktor/apis/conduktor-gateway-api/revisions/73ad742aa630?raw)
