code-security
Update a custom code security configuration for an enterprise
Changed onUpdates a code security configuration in an enterprise.
The authenticated user must be an administrator of the enterprise in order 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/configurations/{configuration_id}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/code-security/configurations/{configuration_id}
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
configuration_idinteger required
The unique identifier of the code security configuration.
Request body
Response
Response
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- warning
added the new
enterprise_enforcedenum value to theresponse property for the response status - info
added the new
enterprise_enforcedenum value to the request property
- warning