Sign in

Create user

documented

Create a new user account on the Mattermost server.

POST /api/v4/usersUsersno 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 "{{$base_url}}/api/v4/users" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"email": "{{$email}}", "username": "{{$username}}", "password": "{{$password}}", "first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "nickname": "{{$nickname}}", "auth_data": "{{$auth_data}}", "auth_service": "{{$auth_service}}"}'