code-security
Create a code security configuration
Changed onCreates 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.
post/orgs/{org}/code-security/configurations
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/orgs/{org}/code-security/configurations
- Auth: none declared
Path parameters
orgstring required
The organization name. The name is not case sensitive.
Request body
Response
Successfully created code security configuration
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
- warning
added the new
enterprise_enforcedenum value to theresponse property for the response status
- warning