# diagrid pubsub delete

Delete a Diagrid pub/sub broker

### Description

Delete a Diagrid pub/sub broker from a project.

```
diagrid pubsub delete <pubsub> [flags]
```

### Examples

```

  # Delete a pub/sub broker from a project
  diagrid pubsub delete my-pubsub --project my-project
  
```

### Options

```
  -p, --project string   Name of existing project
  -w, --wait             Wait for long-running resource deletion to finish
  -a, --approve          Skip confirmation prompt
  -y, --yes              Skip confirmation prompt
  -h, --help             help for delete
```

### Options inherited from parent commands

```
      --api-key string   Diagrid Cloud API key
```

### SEE ALSO

- [diagrid pubsub](./pubsub.md)	 - Manage Diagrid pub/sub brokers
