Sign in

Reset E2E Key

documented

Reset a user's end-to-end encryption key.

POST /api/v1/users.resetE2EKeyUser Managementno 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/users.resetE2EKey" \
  -X POST \
  -H "X-Auth-Token: {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-User-Id: {{X_USER_ID}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"userId": "{{$user_id}}"}' \
  -H "x-2fa-code: {{$twofa_code}}" \
  -H "x-2fa-method: {{$twofa_method}}"
Reset E2E Key · Rocket.Chat · OpenIntegrations