---
title: "Revoke a credential"
method: DELETE
path: "/account/projects/{project}/keys/{id}"
tags: ["account"]
---

# Revoke a credential

`DELETE /account/projects/{project}/keys/{id}`

## Request

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

Immediately revokes a credential while retaining usage records.

When to use: Revoke a compromised credential or remove access for a retired workload.

## Path parameters

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

## Response `200`

Revoke a credential

- 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)
