enterprise-admin
Update code security and analysis features for an enterprise
[!WARNING] Closing down notice: The ability to update code security and analysis settings for an enterprise is closing down. Please use code security configurations instead. For more information, see the changelog.
Updates the settings for advanced security, Dependabot alerts, secret scanning, and push protection for new repositories in an enterprise.
The authenticated user must be an administrator of the enterprise to use this endpoint.
OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
patch/enterprises/{enterprise}/code_security_and_analysis
Path parameters
enterprisestring required
The slug version of the enterprise name.
Request body
Response
Action started