github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/sentinel/delete.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: sentinel delete'
     4  description: |
     5    The sentinel delete command is used to delete a Sentinel policy.
     6  ---
     7  
     8  # Command: sentinel delete
     9  
    10  The `sentinel delete` command is used to delete a Sentinel policy.
    11  
    12  ~> Sentinel commands are new in Nomad 0.7 and are only available with Nomad
    13  Enterprise.
    14  
    15  ## Usage
    16  
    17  ```plaintext
    18  nomad sentinel delete [options] <Policy Name>
    19  ```
    20  
    21  The `sentinel delete` command requires a single argument, the policy name.
    22  
    23  Sentinel commands are only available when ACLs are enabled. This command
    24  requires a management token.
    25  
    26  ## General Options
    27  
    28  @include 'general_options_no_namespace.mdx'
    29  
    30  ## Examples
    31  
    32  Delete a policy:
    33  
    34  ```shell-session
    35  $ nomad sentinel delete foo
    36  Successfully deleted "foo" Sentinel policy!
    37  ```