Patch configuration
documentedSubmit configuration updates to the server.
PUT /api/v4/configSystemno implementation yet0 runsNo 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://about.mattermost.com/api/v4/config" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"ServiceSettings": {"SiteURL": "{{$site_url}}", "WebsocketURL": "{{$websocket_url}}", "ListenAddress": "{{$listen_address}}", "ConnectionSecurity": "{{$connection_security}}"}, "TeamSettings": {"SiteName": "{{$site_name}}", "MaxUsersPerTeam": {{$max_users_per_team}}}, "SqlSettings": {"DataSource": "{{$datasource}}"} }'