enterprise-admin
Update code security and analysis features for an enterprise
Updates the settings for advanced security, 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
Request
- Base URL: http://HOSTNAME/api/v3
- URL: http://HOSTNAME/api/v3/enterprises/{enterprise}/code_security_and_analysis
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Request body
Response
Action started
Changes
No recorded changes to this operation across all 50 revisions of this API.