product:chat
Set retention policy
Changed onCreates or updates a retention policy for the app. Server-side only.
post/retention_policy
Request
- Base URLhttps://chat.stream-io-api.com
- URLhttps://chat.stream-io-api.com/retention_policy
- Auth
- API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
- or API key in query parameter api_key and API key in header Stream-Auth-Type
Request body
Response
Response
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- breaking
request property
was restricted to a list of enum values - breaking
the request property
became required - breaking
the request property
became required - warning
the
request property's max was set to43800.00 - warning
the
request property's min was set to24.00 - info
added the new
inactive-channelsenum value to the request property - info
added the new
old-messagesenum value to the request property
- breaking