---
title: "Delete a service account."
method: DELETE
path: "/v1/serviceAccounts/{id}"
tags: ["serviceAccountManagement"]
---

# Delete a service account.

`DELETE /v1/serviceAccounts/{id}`

Delete a service account with the given identifier from the organization and transfer its content to a user or  a service account with the identifier specified in "transferTo".

## Path parameters

- `id` string, required

## Query parameters

- `transferTo` string
- `deleteContent` boolean

## Response `204`

Service account was deleted successfully.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/revisions/18a824df1e78/schema)
