open-nomad/website/pages/docs/commands/sentinel/delete.mdx
2020-05-18 16:53:06 -04:00

36 lines
677 B
Plaintext

---
layout: docs
page_title: 'Commands: sentinel delete'
sidebar_title: delete
description: |
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.
~> Sentinel commands are new in Nomad 0.7 and are only available with Nomad
Enterprise.
## Usage
```plaintext
nomad sentinel delete [options] <Policy Name>
```
The `sentinel delete` command requires a single argument, the policy name.
## General Options
@include 'general_options.mdx'
## Examples
Delete a policy:
```shell-session
$ nomad sentinel delete foo
Successfully deleted "foo" Sentinel policy!
```