37 lines
755 B
Plaintext
37 lines
755 B
Plaintext
---
|
|
layout: docs
|
|
page_title: 'Commands: namespace delete'
|
|
description: |
|
|
The namespace delete command is used to delete a namespace.
|
|
---
|
|
|
|
# Command: namespace delete
|
|
|
|
The `namespace delete` command is used delete a namespace.
|
|
|
|
~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only
|
|
when introduced in Nomad 0.7.
|
|
|
|
## Usage
|
|
|
|
```plaintext
|
|
nomad namespace delete [options] <namespace>
|
|
```
|
|
|
|
The `namespace delete` command requires the name of the namespace to be deleted.
|
|
|
|
If ACLs are enabled, this command requires a management ACL token.
|
|
|
|
## General Options
|
|
|
|
@include 'general_options_no_namespace.mdx'
|
|
|
|
## Examples
|
|
|
|
Delete a namespace
|
|
|
|
```shell-session
|
|
$ nomad namespace delete api-prod
|
|
Successfully deleted namespace "api-prod"!
|
|
```
|