github.com/sl1pm4t/consul@v1.4.5-0.20190325224627-74c31c540f9c/website/source/docs/commands/intention/delete.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: Intention Delete"
     4  sidebar_current: "docs-commands-intention-delete"
     5  ---
     6  
     7  # Consul Intention Delete
     8  
     9  Command: `consul intention delete`
    10  
    11  The `intention delete` command deletes a matching intention.
    12  
    13  ## Usage
    14  
    15  Usage:
    16  
    17    * `consul intention delete [options] SRC DST`
    18    * `consul intention delete [options] ID`
    19  
    20  #### API Options
    21  
    22  <%= partial "docs/commands/http_api_options_client" %>
    23  
    24  ## Examples
    25  
    26  Delete an intention from "web" to "db" with any action:
    27  
    28  ```text
    29  $ consul intention delete web db
    30  ```
    31  
    32  Delete an intention by unique ID:
    33  
    34  ```text
    35  $ consul intention delete 4ffed935-439c-695d-4f51-f4fc0b12a7a7
    36  ```