Regenerate OAuth app secret
documentedGenerate a new client secret for the OAuth app.
POST /api/v4/oauth/apps/{app_id}/regen_secretOAuthno 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://api.mattermost.com/api/v4/oauth/apps/{{$app_id}}/regen_secret" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"