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

36 lines
712 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'
sidebar_title: 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
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.
## 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"!
```