Sign in

Patch user

documented

Partially update a user with only the provided fields.

PUT /api/v4/users/{user_id}/patchUsersno 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://api.mattermost.com/v4/users/{{$user_id}}/patch" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "nickname": "{{$nickname}}", "email": "{{$email}}", "username": "{{$username}}", "position": "{{$position}}"}'
Patch user · Mattermost · OpenIntegrations