v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0172165343.2 KB
Msgs

Stream Cancel Lease

Cancels a current stream lease.

Used when a consumer cannot process a batch and wants to release it immediately rather than wait for lease expiration.

post/api/v1.msgs.stream.cancel-lease

Request body

namespacestring nullable
topicstring required
consumer_groupstring required

Example request

{
  "namespace": "some_namespace",
  "topic": "some_topic_name~0",
  "consumer_group": "some_consumer_group"
}

Response

MsgStreamCancelLeaseOut required