Sign in

Archive Channel

documented

Archive a channel.

POST /api/v1/channels.archiveRoomsno 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://rocket.chat/api/v1/channels.archive" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Auth-Token: {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-User-Id: {{$user_id}}" \
  -d '{"roomId": "{{$room_id}}"}'
Archive Channel · Rocket.Chat · OpenIntegrations