Delete a chat message
DELETE/v2/spaces/:space_id/chats/:chat_id/messages/:message_id
An attachment whose only reference was this message is erased for good afterwards, not moved to Bin. The response names those ids in warnings, and a dry run reports the same list without deleting anything. A message that does not exist is a 404 on the dry run too.
Requestโ
Responsesโ
- 200
- 400
- 401
- 403
- 404
- 409
- 429
Deleted message id
Invalid path, query or request input
Missing, unknown, revoked or expired key; shared authentication envelope
The shared key-scope gate uses the legacy envelope; an operation-specific refusal may use the v2 error envelope
Chat or message not found
Idempotency-Key conflict, or an operation-specific concurrency conflict
Shared write rate limit; legacy error envelope