pub async fn orgs_slash_update(
configuration: &Configuration,
org: &str,
orgs_update_request: Option<OrgsUpdateRequest>,
) -> Result<OrganizationFull, Error<OrgsSlashUpdateError>>Expand description
Parameter Deprecation Notice: GitHub will replace and discontinue members_allowed_repository_creation_type in favor of more granular permissions. The new input parameters are members_can_create_public_repositories, members_can_create_private_repositories for all organizations and members_can_create_internal_repositories for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the blog post. Updates the organization’s profile and member privileges. With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration: - advanced_security_enabled_for_new_repositories - dependabot_alerts_enabled_for_new_repositories - dependabot_security_updates_enabled_for_new_repositories - dependency_graph_enabled_for_new_repositories - secret_scanning_enabled_for_new_repositories - secret_scanning_push_protection_enabled_for_new_repositories For more information on setting a default security configuration, see "Enabling security features at scale." The authenticated user must be an organization owner to use this endpoint. OAuth app tokens and personal access tokens (classic) need the admin:org or repo scope to use this endpoint.