orgs
Set immutable releases settings for an organization
Sets the immutable releases policy for repositories in an organization.
OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
put/orgs/{org}/settings/immutable-releases
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/orgs/{org}/settings/immutable-releases
- Auth: none declared
Path parameters
orgstring required
The organization name. The name is not case sensitive.
Request body
Example request
{
"enforced_repositories": "all"
}Response
Response
Changes
No recorded changes to this operation across all 83 revisions of this API.