Reset Consumer

View as Markdown
Reset a consumer by deleting it. The consumer will be automatically recreated within seconds by the running service.

Authentication

AuthorizationBearer

Bearer JWT used by CLI and machine clients on svc-* endpoints. Authentication is required by default, but deployments may disable it with [auth] required = false. Browser OIDC sessions, mTLS, SPIFFE identities, and trusted gateway identity headers may also satisfy authentication outside this generated client flow.

Path parameters

consumer_typeenumRequired
Valid consumer types for NATS consumer management.
Allowed values:

Response

Operation successful
consumer_namestring
messagestring
statusstring
streamstring

Errors

404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error