# diagrid pubsub topic delete

Delete a topic on a Diagrid pub/sub broker

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

### Examples

```

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

```

### Options

```
      --pubsub string    Name of pubsub broker
  -p, --project string   Name of existing project
  -o, --output string    Output format, supported [table, yaml, json] (default "table")
  -h, --help             help for delete
```

### Options inherited from parent commands

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

### SEE ALSO

- [diagrid pubsub topic](./topic.md)	 - Manage pub/sub broker topics
