---
title: "Delete the specific API Key."
method: DELETE
path: "/api/UserApiKeys/{apiKey}"
tags: ["UserApiKeys"]
---

# Delete the specific API Key.

`DELETE /api/UserApiKeys/{apiKey}`

## Request

- Base URL: `https://api.3dprintlog.com`
- URL: `https://api.3dprintlog.com/api/UserApiKeys/{apiKey}`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://3dprintlog.auth0.com/authorize`, token URL `https://3dprintlog.auth0.com/oauth/token`)
  - API key in header `X-Api-Key`
  - API key in query parameter `api_key`

## Path parameters

- `apiKey` string, uuid, required

## Response `200`

OK

- PrintLogApiModelsDTOsUserApiKeysNewUserApiKeyDto
  - `createdDate` string, date-time
  - `createdById` integer
  - `updatedDate` string, date-time
  - `updatedById` integer
  - `id` string, uuid: Not the API Key, just the primary key
  - `description` string, nullable
  - `publicKey` string, nullable: The new api key that was generated. This is the only time the API can return the public key

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/3dprintlog/apis/3d-print-log-api.md) · [All operations](https://skmtc.dev/3dprintlog/apis/3d-print-log-api/llms.txt) · [OpenAPI document](https://skmtc.dev/3dprintlog/apis/3d-print-log-api/revisions/dfc3a4df4e38?raw)
