Sign in

Update OAuth app

documented

Update an OAuth 2.0 client application.

PUT /api/v4/oauth/apps/{app_id}OAuthno 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://{{$baseUrl}}/api/v4/oauth/apps/{{$app_id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "description": "{{$description}}", "callback_urls": ["{{$callback_url_1}}", "{{$callback_url_2}}"], "homepage": "{{$homepage}}"}'
Update OAuth app · Mattermost · OpenIntegrations