github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/commands/sentinel/delete.mdx (about)

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