code-security
Get default code security configurations for an enterprise
Changed onLists the default code security configurations for 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 read:enterprise scope to use this endpoint.
get/enterprises/{enterprise}/code-security/configurations/defaults
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/code-security/configurations/defaults
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
Response
Response
Changes
- warning
added the new
enterprise_enforcedenum value to the//response property for the response status
- warning