open-nomad/website/content/docs/commands/namespace/delete.mdx

37 lines
755 B
Plaintext
Raw Normal View History

2017-09-19 14:47:10 +00:00
---
2020-02-06 23:45:31 +00:00
layout: docs
page_title: 'Commands: namespace delete'
description: |
2017-09-19 14:47:10 +00:00
The namespace delete command is used to delete a namespace.
---
# Command: namespace delete
The `namespace delete` command is used delete a namespace.
2020-10-22 21:59:40 +00:00
~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only
2020-12-07 22:04:11 +00:00
when introduced in Nomad 0.7.
2017-09-19 14:47:10 +00:00
## Usage
```plaintext
2017-09-19 14:47:10 +00:00
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.
2017-09-19 14:47:10 +00:00
## General Options
@include 'general_options_no_namespace.mdx'
2017-09-19 14:47:10 +00:00
## Examples
Delete a namespace
2020-05-18 20:53:06 +00:00
```shell-session
$ nomad namespace delete api-prod
2017-09-19 14:47:10 +00:00
Successfully deleted namespace "api-prod"!
```