v1

latestOpenAPI 3.0.32026-07-14116331388.2 KB
Channels

Truncate channel

Truncates channel

post/channels/{type}/{id}/truncate

Path parameters

Request body

hard_deleteboolean

Permanently delete channel data (messages, reactions, etc.)

skip_pushboolean

When message is set disables all push notifications for it

truncated_atstring date-time

Truncate channel data up to truncated_at. The system message (if provided) creation time is always greater than truncated_at

user_idstring

Response

Successful response

durationstring required

Duration of the request in human-readable format