2017-09-15 15:40:23 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: acl token delete'
|
|
|
|
sidebar_title: token delete
|
|
|
|
description: |
|
2017-09-15 15:40:23 +00:00
|
|
|
The token create command is used to delete existing ACL tokens.
|
|
|
|
---
|
|
|
|
|
|
|
|
# Command: acl token delete
|
|
|
|
|
|
|
|
The `acl token delete` command is used to delete existing ACL tokens.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
```plaintext
|
2017-09-15 15:40:23 +00:00
|
|
|
nomad acl token delete <token_accessor_id>
|
|
|
|
```
|
|
|
|
|
|
|
|
The `acl token delete` command requires an existing token's AccessorID.
|
|
|
|
|
|
|
|
## General Options
|
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
@include 'general_options.mdx'
|
2017-09-15 15:40:23 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Delete an existing ACL token:
|
|
|
|
|
2020-05-18 20:53:06 +00:00
|
|
|
```shell-session
|
|
|
|
$ nomad acl token delete d532c40a-30f1-695c-19e5-c35b882b0efd
|
2017-09-15 15:40:23 +00:00
|
|
|
|
|
|
|
Token d532c40a-30f1-695c-19e5-c35b882b0efd successfully deleted
|
|
|
|
```
|