---
title: "DELETE /gateway/v2/service-account/{vcluster}/{name}/scramcredential/{login}"
method: DELETE
path: "/gateway/v2/service-account/{vcluster}/{name}/scramcredential/{login}"
tags: ["cli_gateway-service-account_gateway_v2_10"]
---

# DELETE /gateway/v2/service-account/{vcluster}/{name}/scramcredential/{login}

`DELETE /gateway/v2/service-account/{vcluster}/{name}/scramcredential/{login}`

## 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/{vcluster}/{name}/scramcredential/{login}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-gateway-api/docs/gateway/v2/service-account/:vcluster/:name/scramcredential/:login/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 (revoke) a service account's SCRAM credential by its login.


> **Note:** This endpoint requires the service accounts feature flag to be enabled.
> Set `GATEWAY_FEATURE_FLAGS_SERVICE_ACCOUNTS=true` to enable this feature.

## Path parameters

- `vcluster` string, required
- `name` string, required
- `login` string, required

## 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 SCRAM login ... does not exist.
- `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)
