---
name: "kdestroy.heimdal"
section: "1"
platform: "linux"
package: "heimdal-clients"
version: "7.8.git20221117.28daf24+dfsg-9+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/kdestroy.heimdal"
---

# kdestroy.heimdal(1)

remove one credential or destroy the current ticket file

## NAME

**kdestroy** – remove one credential or destroy the current ticket file

## SYNOPSIS

**kdestroy** \[**-c** *cachefile*\] \[**-****-credential=***principal*\] \[**-****-cache=***cachefile*\] \[**-A** \| **-****-all**\] \[**-****-no-unlog**\] \[**-****-no-delete-v4**\] \[**-****-version**\] \[**-****-help**\]

## DESCRIPTION

**kdestroy** removes one credential or the current set of tickets.

Supported options:

- **-credential=***principal*

  remove *principal* from the credential cache if it exists.

- **-c** *cachefile*

  - **-cache=***cachefile*

  The cache file to remove.

- **-A**

  - **-****-all**

  remove all credential caches.

- **-****-no-unlog**

  Do not remove AFS tokens.

- **-****-no-delete-v4**

  Do not remove v4 tickets.

## SEE ALSO

[kinit(1)](/kinit/1.md), [klist(1)](/klist/1.md)
