dependency-graph
Set the license compliance policy for an enterprise
Changed onSets the license compliance policy for an enterprise.
Currently, only the policy with the ID default is supported.
The authenticated user must be an enterprise owner, or have the "Edit enterprise license policy" fine-grained permission on the enterprise.
put/enterprises/{enterprise}/license-compliance/policies/{policy_id}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/license-compliance/policies/{policy_id}
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
policy_idstring required
The unique identifier of the policy within the enterprise. Currently, only default is supported.
Request body
Response
A header with no content is returned.
Changes
- info
endpoint added
- info