2017-09-17 04:36:08 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: acl policy delete'
|
|
|
|
sidebar_title: policy delete
|
|
|
|
description: |
|
2017-09-17 05:15:25 +00:00
|
|
|
The policy delete command is used to delete an existing ACL policies.
|
2017-09-17 04:36:08 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Command: acl policy delete
|
|
|
|
|
|
|
|
The `acl policy delete` command is used to delete an existing ACL policies.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
```plaintext
|
2017-09-17 04:36:08 +00:00
|
|
|
nomad acl policy delete <policy_name>
|
|
|
|
```
|
|
|
|
|
|
|
|
The `acl policy delete` command requires the policy name as an argument.
|
|
|
|
|
|
|
|
## General Options
|
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
@include 'general_options.mdx'
|
2017-09-17 04:36:08 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2017-10-16 18:17:04 +00:00
|
|
|
Delete an ACL Policy:
|
2017-09-17 04:36:08 +00:00
|
|
|
|
2020-05-18 20:53:06 +00:00
|
|
|
```shell-session
|
|
|
|
$ nomad acl policy delete my-policy
|
2017-09-17 04:36:08 +00:00
|
|
|
Successfully deleted 'my-policy' ACL policy!
|
|
|
|
```
|