Changeset 0.37.14 (#226)

Co-authored-by: gobha <jasafpro@gmail.com>
Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
2026-03-23 16:47:48 +00:00
committed by xcaliber
parent fcb998bff9
commit b7746c3004
164 changed files with 6972 additions and 3527 deletions

View File

@@ -738,20 +738,34 @@ paths:
delete:
tags:
- Channels
summary: Archive a channel
summary: Delete or leave a channel
description: |
Owner: deletes (or archives for retention when TTL > 0).
Non-owner participant: leaves the channel.
When retention_ttl_days > 0, all channels are archived and purged after TTL.
Only Personal (BYOK) provider channels are exempt and always immediately deleted.
security:
- bearerAuth: []
parameters:
- $ref: '#/components/parameters/ResourceID'
responses:
'200':
description: Archived
description: Deleted, archived for retention, or left channel
content:
application/json:
schema:
$ref: '#/components/schemas/MessageResponse'
'400':
$ref: '#/components/responses/BadRequest'
type: object
properties:
message:
type: string
enum:
- channel deleted
- channel archived for retention
- left channel
purge_after:
type: string
format: date-time
description: Only present when archived for retention
'401':
$ref: '#/components/responses/Unauthorized'
'404':