Sign in

Regenerate OAuth app secret

documented

Generate a new client secret for the OAuth app.

POST /api/v4/oauth/apps/{app_id}/regen_secretOAuthno 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/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"
Regenerate OAuth app secret · Mattermost · OpenIntegrations