Skip to main content
Version: 2.12

Delete Consumer

Deletes a consumer.

Subject

$JS.API.CONSUMER.DELETE.{stream}.{consumer}

Where {stream} is the stream name and {consumer} is the consumer name.

Response

A response from the JetStream $JS.API.CONSUMER.DELETE API

One of the following:
Option 1 (object)
errorobjectrequired
Option 2 (object)
successbooleanrequired
typeconst: "io.nats.jetstream.api.v1.consumer_delete_response"required