Streams

Expire messages on the stream

Set the expiration time for all messages on the stream, this applies to all subscriptions.

post/_fabric/{fabric}/_api/streams/{stream}/expiry/{seconds}

Request

Path parameters

fabricstring string required

Fabric name.

streamstring string required

The name of the stream (up to 240 characters). It should start with c8locals. or c8globals..

secondsinteger required

Expiry time in seconds.

Response

Successfully set the expiration time.

errorboolean

Flag if there is an error in response. False for this response.

codeinteger

The generated response code.

resultstring

Example response

{
  "code": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.