---
title: "Disable a service account"
method: DELETE
path: "/account/projects/{project}/service-accounts/{id}"
tags: ["account"]
---

# Disable a service account

`DELETE /account/projects/{project}/service-accounts/{id}`

## Request

- Base URL: `https://api.mapsource.io`
- URL: `https://api.mapsource.io/account/projects/{project}/service-accounts/{id}`
- Auth: HTTP bearer

Disables a service account and revokes its credentials in one transaction.

When to use: Revoke access for a workload or compromised service account.

## Path parameters

- `project` string, required
- `id` string, required

## Response `200`

Disable a service account

- object

## Other responses

- `400`: Error with a stable machine code.
- `401`: Error with a stable machine code.
- `429`: Error with a stable machine code.
- `500`: Error with a stable machine code.

---

[API](https://skmtc.dev/mapsource/apis/mapsource-overpass-api.md) · [All operations](https://skmtc.dev/mapsource/apis/mapsource-overpass-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mapsource/apis/mapsource-overpass-api/revisions/8af8c2769e7b?raw)
