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

     1  ---
     2  layout: docs
     3  page_title: 'Commands: namespace delete'
     4  description: |
     5    The namespace delete command is used to delete a namespace.
     6  ---
     7  
     8  # Command: namespace delete
     9  
    10  The `namespace delete` command is used delete a namespace.
    11  
    12  ~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only
    13  when introduced in Nomad 0.7.
    14  
    15  ## Usage
    16  
    17  ```plaintext
    18  nomad namespace delete [options] <namespace>
    19  ```
    20  
    21  The `namespace delete` command requires the name of the namespace to be deleted.
    22  
    23  If ACLs are enabled, this command requires a management ACL token.
    24  
    25  ## General Options
    26  
    27  @include 'general_options_no_namespace.mdx'
    28  
    29  ## Examples
    30  
    31  Delete a namespace
    32  
    33  ```shell-session
    34  $ nomad namespace delete api-prod
    35  Successfully deleted namespace "api-prod"!
    36  ```