> ## Documentation Index
> Fetch the complete documentation index at: https://astronomer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# astro deployment token delete

<Info>
  This command is only available on Astro.
</Info>

Delete a [Deployment API Token](/docs/astro/deployment-api-tokens).

See [Authenticate an automation tool](/docs/astro/automation-authentication) to use your API token in an automated process.

## Usage

```sh wrap theme={null}
astro deployment token delete --deployment-id=<deployment-id>
```

## Options

| Option         | Description                                                                                                 | Possible Values |
| -------------- | ----------------------------------------------------------------------------------------------------------- | --------------- |
| `-f`,`--force` | Delete or remove the API token without showing a warning                                                    | N/A             |
| `-t`,`--name`  | The name of the token to be deleted. If the name contains a space, specify the entire name within quotes "" | String          |

## Examples

```bash wrap theme={null}
# Delete a Deployment API token
astro deployment token delete --deployment-id=clukapi6r000008l58530cg8i
```

## Related commands

* [`astro deployment token list`](/docs/cli/v1.42/astro-deployment-token-list)
* [`astro deployment token rotate`](/docs/cli/v1.42/astro-deployment-token-rotate)
* [`astro deployment token update`](/docs/cli/v1.42/astro-deployment-token-update)
