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

# Delete a service account

`DELETE /api/v2/service-accounts/{service_account_id}`

## Request

- Base URL: `https://console.jumpcloud.com`
- 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-console-api/docs/api/v2/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-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
