Sign in

Set user profile image

documented

Upload/set a user's profile image.

POST /api/v4/users/{user_id}/imageUsersno 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://{{HOST}}/api/v4/users/{{$user_id}}/image" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -F "image=@{{$image_path}}"
Set user profile image · Mattermost · OpenIntegrations