Update user status
documentedSet the user’s status (online/away/offline/dnd).
PUT /api/v4/users/{user_id}/statusUsersno implementation yet0 runsNo 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://{{MATTERMOST_BASE_URL}}/api/v4/users/{{$user_id}}/status" \
-X PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"status": "{{$status}}"}'