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

36 lines
677 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'
sidebar_title: 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.
## General Options
2020-02-06 23:45:31 +00:00
@include 'general_options.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!
```