code-security
Update a code security configuration
Changed onUpdates a code security configuration in an organization.
The authenticated user must be an administrator or security manager for the organization to use this endpoint.
OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.
patch/orgs/{org}/code-security/configurations/{configuration_id}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/orgs/{org}/code-security/configurations/{configuration_id}
- Auth: none declared
Path parameters
orgstring required
The organization name. The name is not case sensitive.
configuration_idinteger required
The unique identifier of the code security configuration.
Request body
Response
Response when a configuration is updated
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- 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
- warning