adds ACL token delete

This commit is contained in:
Chelsea Holland Komlo
2017-09-15 15:40:23 +00:00
parent 58ac12a125
commit 730c5ad457
4 changed files with 168 additions and 0 deletions

View File

@@ -22,8 +22,10 @@ subcommands are available:
* [`acl bootstrap`][bootstrap] - Bootstrap the initial ACL token
* [`acl policy apply`][policyapply] - Create or update ACL policies
* [`acl token create`][tokencreate] - Create new ACL token
* [`acl token delete`][tokendelete] - Delete an existing ACL token
[bootstrap]: /docs/commands/acl/bootstrap.html
[policyapply]: /docs/commands/acl/policy-apply.html
[tokencreate]: /docs/commands/acl/token-create.html
[tokendelete]: /docs/commands/acl/token-delete.html

View File

@@ -0,0 +1,33 @@
---
layout: "docs"
page_title: "Commands: acl token delete"
sidebar_current: "docs-commands-acl-token-delete"
description: >
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
```
nomad acl token delete <token_accessor_id>
```
The `acl token delete` command requires an existing token's AccessorID.
## General Options
<%= partial "docs/commands/_general_options" %>
## Examples
Delete an existing ACL token:
```
$ nomad acl token delete d532c40a-30f1-695c-19e5-c35b882b0efd
Token d532c40a-30f1-695c-19e5-c35b882b0efd successfully deleted
```