Skip to main content

orgs

Overview

Nameorgs
TypeResource
Idgithub.interactions.orgs

Fields

NameDatatypeDescription
expires_atstring
limitstringThe type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.
originstring

Methods

NameAccessible byRequired ParamsDescription
get_restrictions_for_orgSELECTorgShows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response.
remove_restrictions_for_orgDELETEorgRemoves all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.
set_restrictions_for_orgEXECorg, data__limitTemporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization.