KDESTROY(1) General Commands Manual KDESTROY(1)

# [NAME](#NAME)

`kdestroy` — remove one credential or destroy the current ticket file

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#DESCRIPTION)

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

Supported options:

[`-credential=`](#credential=)`principal`

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

[`-c`](#c) `cachefile`

 

[`-cache=`](#cache=)`cachefile`

The cache file to remove.

[`-A`](#A)

 

[`--all`](#all)

remove all credential caches.

[`--no-unlog`](#no-unlog)

Do not remove AFS tokens.

[`--no-delete-v4`](#no-delete-v4)

Do not remove v4 tickets.

# [SEE ALSO](#SEE_ALSO)

[kinit(1)](/man/os/heimdal/kinit.1), [klist(1)](/man/os/heimdal/klist.1)

April 27, 2006 HEIMDAL

---

Document: kdestroy(1) from heimdal 7.8.0-r55 (Chainguard OS)
Source: https://github.com/heimdal/heimdal
