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
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.