---
layout: docs
page_title: 'Commands: namespace delete'
sidebar_title: delete
description: |
  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

```plaintext
nomad namespace delete [options] <namespace>
```

The `namespace delete` command requires the name of the namespace to be deleted.

## General Options

@include 'general_options.mdx'

## Examples

Delete a namespace

```shell-session
$ nomad namespace delete api-prod
Successfully deleted namespace "api-prod"!
```
