product:chat
delete/channels/{type}/{id}
Request
- Base URLhttps://chat.stream-io-api.com
- URLhttps://chat.stream-io-api.com/channels/{type}/{id}
- 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
Path parameters
typestring required
Channel type to interact with
idstring required
Channel ID to interact with
Query parameters
hard_deleteboolean
Server-side only. When true, the channel and all its resources are permanently deleted instead of soft-deleted.
skip_truncateboolean
Server-side only. When true, the soft delete preserves message history instead of hiding it, so a later recreation of the same channel ID restores the full history. Only supported for distinct channels. Cannot be combined with hard_delete.
Response
Response
Example response
{
"channel": {
"config": {
"partition_ttl": "24h"
}
}
}Changes
- info
added the optional property
//to the response with the status
- info
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info