mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 03:15:42 +03:00
* sectionless files plus acl section * alloc section * config, deployment sections * job section * licence, namespace * node, node-pool * operator * plugin, quota, recommendation * scaling, sentinel, server, service, system, var, volume * Add "ENT" label to left nav for enterprise commands * job tag break into separate folder and files; update options header
37 lines
780 B
Plaintext
37 lines
780 B
Plaintext
---
|
|
layout: docs
|
|
page_title: 'nomad sentinel delete command reference'
|
|
description: |
|
|
The `nomad sentinel delete` command deletes the specified Sentinel policy in Nomad Enterprise.
|
|
---
|
|
|
|
# `nomad sentinel delete` command reference
|
|
|
|
The `sentinel delete` command is used to delete a Sentinel policy.
|
|
|
|
<EnterpriseAlert product="nomad"/>.
|
|
|
|
## Usage
|
|
|
|
```plaintext
|
|
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.
|
|
|
|
## Examples
|
|
|
|
Delete a policy:
|
|
|
|
```shell-session
|
|
$ nomad sentinel delete foo
|
|
Successfully deleted "foo" Sentinel policy!
|
|
```
|
|
|
|
## General options
|
|
|
|
@include 'general_options_no_namespace.mdx'
|