Truncate channel in Stream IO API Stream Chat
A documented Stream IO API Stream Chat operation that changes something in your account. Describe the outcome you want in plain words — HumDay writes the program, proves it, and runs it.
What this operation does
Truncate channel
- POSTChanges data · Channels
chat.stream-io-api.com/channels/{type}/{id}/truncate
How HumDay uses it
- You describe the outcome. Not this operation by name — what you want to happen. HumDay works out which operations it needs.
- The contract names it. Before anything is built, you see exactly which Stream IO API Stream Chat operations the program may use, and this is one of them.
- You approve access. Because this one changes data, it cannot run until you have explicitly granted it.
Other Stream IO API Stream Chat operations
- Get or create channel (type)POST · changes data
- Send user eventPOST · changes data
- Get or create channel (type, id)POST · changes data
- Send new messagePOST · changes data
- Create guestPOST · changes data
- Partially update userPATCH · changes data
- Query channelsPOST · changes data
- Create campaignPOST · changes data
Questions
- Can HumDay truncate channel in Stream IO API Stream Chat?
- Yes. This operation is published in Stream IO API Stream Chat's own API description, so HumDay can use it without a hand-built connector — once you have approved it for your automation.
- Will this change my Stream IO API Stream Chat data?
- Yes — this is a POST operation, so it changes something in Stream IO API Stream Chat. HumDay holds anything that writes behind an approval you grant explicitly, and the contract you approve says what it may touch.
- Do I need to write code?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a proof run before anything touches your Stream IO API Stream Chat account.
Where this came from
Read from a published API description for Stream IO API Stream Chat at stream-openapi.s3.us-east-1.amazonaws.com/chat/openapi-latest.yaml. The description above is the provider’s own wording, not ours. Last published 2023-03-04.