Update user
documentedUpdate user profile fields.
PUT /users/{username}.jsonUsersno 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://{{$domain}}/admin/users/{{$user_id}}.json" \
-X PUT \
-H "Api-Key: {{DISCOURSE_API_KEY}}" \
-H "Api-Username: {{DISCOURSE_API_USERNAME}}" \
-H "Content-Type: application/json" \
-d '{"name": "{{$name}}", "title": "{{$title}}", "custom_fields": {{$custom_fields}}}'