Hanzo AI
OpenapiMq

Delete consumer

Removes a consumer and its delivery state; unacknowledged messages stay in the stream.

DELETE /v1/mq/stream/{stream}/consumer/{name}

Addresshttps://api.hanzo.ai/v1/mq/stream/{stream}/consumer/{name}
MethodDELETE
Operationdelete_mq_stream_by_stream_consumer_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Removes a consumer and its delivery state; unacknowledged messages stay in the stream.

Request

2 fields.

FieldInTypeRequiredDescription
streampathstringyesStream is the stream name, from the path.
namepathstringyesName is the consumer name, from the path.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo mq stream consumer rm <stream> <name>

MQ API · All Hanzo APIs · Interactive reference

How is this guide?

On this page