Sign in

Update user

documented

Update user profile fields.

PUT /users/{username}.jsonUsersno 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}}/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}}}'
Update user · discourse · OpenIntegrations