Regenerate OAuth app secret
POST/api/v4/oauth/apps/:app_id/regen_secret
Regenerate the client secret for an OAuth 2.0 client application registered with Mattermost.
Permissions
If app creator, must have mange_oauth permission otherwise manage_system_wide_oauth permission is required.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 501
Secret regeneration successful
Invalid or missing parameters in URL or request body
No access token provided
Do not have appropriate permissions
Resource not found
Feature is disabled