---
title: "Delete an API key"
method: DELETE
path: "/v1/apikeys/{keyId}"
tags: ["API Keys"]
---

# Delete an API key

`DELETE /v1/apikeys/{keyId}`

Permanently deletes an API key.

## Path parameters

- `keyId` string, required

## Response `200`

API key deleted successfully

## Other responses

- `401` — User is not authorized to access this endpoint
- `404` — API key not found
- `500` — Internal server error

---

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