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

# Delete a service account

`DELETE /service-accounts/{service_account_id}`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/service-accounts/{service_account_id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/service-accounts/:service_account_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `service_account_id` string, byte, required

## Headers

- `x-org-id` string

## Response `200`

A successful response.

- JumpcloudServiceAccountsDeleteServiceAccountResponse

## Other responses

- `202`: Delete service account request accepted.
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

---

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