Sign in

Admin create user

documented

Create a new user from the admin perspective.

POST /admin/users.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://{{$DISCOURSE_SITE}}/admin/users.json" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Api-Key: {{DISCOURSE_API_KEY}}" \
  -H "Api-Username: {{$DISCOURSE_ADMIN_USERNAME}}" \
  -d '{"name": "{{$name}}", "username": "{{$username}}", "email": "{{$email}}", "password": "{{$password}}", "active": true}'
Admin create user · discourse · OpenIntegrations