---
title: "Delete service account"
method: DELETE
path: "/v1/service-accounts/{id}"
tags: ["Service Accounts"]
---

# Delete service account

`DELETE /v1/service-accounts/{id}`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/service-accounts/{id}`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Deletes a service account and immediately revokes all API access using its credentials

## Path parameters

- `id` string, required

## Response `204`

Service account deleted successfully

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Service account not found

---

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