open-nomad/website/source/docs/commands/sentinel/delete.html.md.erb

36 lines
701 B
Plaintext
Raw Normal View History

2017-09-19 14:47:10 +00:00
---
layout: "docs"
page_title: "Commands: sentinel delete"
sidebar_current: "docs-commands-sentinel-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.
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
```
nomad sentinel delete [options] <Policy Name>
```
The `sentinel delete` command requires a single argument, the policy name.
## General Options
<%= partial "docs/commands/_general_options" %>
## Examples
Delete a policy:
```
$ nomad sentinel delete foo
Successfully deleted "foo" Sentinel policy!
```