open-nomad/website/content/docs/commands/sentinel/delete.mdx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
771 B
Plaintext
Raw Normal View History

2017-09-19 14:47:10 +00:00
---
2020-02-06 23:45:31 +00:00
layout: docs
page_title: 'Commands: sentinel delete'
description: |
2017-09-19 14:47:10 +00:00
The sentinel delete command is used to delete a Sentinel policy.
---
# Command: sentinel delete
The `sentinel delete` command is used to delete a Sentinel policy.
2018-03-22 20:39:18 +00:00
~> Sentinel commands are new in Nomad 0.7 and are only available with Nomad
Enterprise.
2017-09-19 14:47:10 +00:00
## Usage
```plaintext
2017-09-19 14:47:10 +00:00
nomad sentinel delete [options] <Policy Name>
```
The `sentinel delete` command requires a single argument, the policy name.
Sentinel commands are only available when ACLs are enabled. This command
requires a management token.
2017-09-19 14:47:10 +00:00
## General Options
@include 'general_options_no_namespace.mdx'
2017-09-19 14:47:10 +00:00
## Examples
Delete a policy:
2020-05-18 20:53:06 +00:00
```shell-session
$ nomad sentinel delete foo
2017-09-19 14:47:10 +00:00
Successfully deleted "foo" Sentinel policy!
```