---
title: "Delete service account"
method: DELETE
path: "/api/organizations/{name}/service-accounts/{serviceAccountId}"
tags: ["service-accounts"]
---

# Delete service account

`DELETE /api/organizations/{name}/service-accounts/{serviceAccountId}`

Delete a service account and all its tokens. This action cannot be undone.

## Path parameters

- `name` string, required
- `serviceAccountId` string, required

## Response `204`

Service account deleted

- unknown

---

[API](https://skmtc.net/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.net/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/huggingface/hub-api-endpoints/versions/dae0cc3790f0/schema)
