Sign in

Delete Chat Message

documented

Delete a chat message.

POST /api/v1/chat.deleteMessagesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$domain}}/api/v1/chat.delete" \
  -X POST \
  -H "X-Auth-Token: {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-User-Id: {{$user_id}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"roomId": "{{$room_id}}", "msgId": "{{$msg_id}}", "asUser": {{$asUser}}}'
Delete Chat Message · Rocket.Chat · OpenIntegrations