---
title: "alpacon authority delete"
description: "Delete a certificate authority by name with alpacon authority delete. Only authorities without request history can be removed; use --yes to skip confirmation."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# alpacon authority delete

Delete a certificate authority that has never received a certificate request.

## Usage

`alpacon authority delete AUTHORITY [flags]`

## Key facts

- Use the CA name as `AUTHORITY`.
- A CA with request history cannot be deleted.
- Aliases: `rm`

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | Show command help. | `false` |
| `-y, --yes` | `bool` | Skip confirmation prompt | `false` |
| `--output` | `string` | Output format: `table` or `json`. Inherited by all commands. | `table` |

## Examples

Delete a CA by name

```bash
alpacon authority delete "Root CA"
alpacon authority rm my-authority
```

Skip the confirmation prompt

```bash
alpacon authority delete my-authority -y
```

A CA with request history keeps its signing requests, certificate records, and revocations. To retire it, delete the server it runs on. See [Retiring a CA with history](/use/private-ssl/authorities/#retiring-a-ca-with-history).

Source: https://docs.alpacax.com/reference/cli/authority/delete/
