2026-08-11 11:22:55 -04:00
|
|
|
---
|
|
|
|
|
# Code generated by make gen. DO NOT EDIT.
|
|
|
|
|
title: tokens remove
|
|
|
|
|
description: Expire or delete a token
|
|
|
|
|
---
|
|
|
|
|
|
2023-02-22 19:53:21 -06:00
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
2023-01-27 15:10:40 -03:00
|
|
|
|
2026-02-17 13:16:46 +00:00
|
|
|
Expire or delete a token
|
2023-01-27 15:10:40 -03:00
|
|
|
|
2023-03-23 17:42:20 -05:00
|
|
|
Aliases:
|
|
|
|
|
|
2025-01-03 18:12:59 +05:00
|
|
|
* delete
|
|
|
|
|
* rm
|
2023-03-23 17:42:20 -05:00
|
|
|
|
2023-02-22 19:53:21 -06:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
```console
|
2026-02-17 13:16:46 +00:00
|
|
|
coder tokens remove [flags] <name|id|token>
|
2023-01-27 15:10:40 -03:00
|
|
|
```
|
2026-02-17 13:16:46 +00:00
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
|
|
```console
|
|
|
|
|
Remove a token by expiring it. Use --delete to permanently hard-delete the token instead.
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
|
|
### --delete
|
|
|
|
|
|
|
|
|
|
| | |
|
|
|
|
|
|------|-------------------|
|
|
|
|
|
| Type | <code>bool</code> |
|
|
|
|
|
|
|
|
|
|
Permanently delete the token instead of expiring it. This removes the audit trail.
|