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.
|
|
|
|
|
|
|
|
~> Namespace commands are new in Nomad 0.7 and are only available with Nomad
|
|
|
|
Enterprise.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
```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
|
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
@include 'general_options.mdx'
|
2017-09-19 14:47:10 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Delete a namespace
|
|
|
|
|
2020-05-01 20:02:21 +00:00
|
|
|
```shell-sessionnomad namespace delete api-prod
|
2017-09-19 14:47:10 +00:00
|
|
|
Successfully deleted namespace "api-prod"!
|
|
|
|
```
|