Sample - GitHub REST API
GET/orgs/{org}/interaction-limits

Get interaction restrictions for an organization

Shows 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.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
orgstringrequired
The organization name. The name is not case sensitive.

1 status code
200Response
limitstringrequired
The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect.
Allowed:existing_userscontributors_onlycollaborators_only
originstringrequired
expires_atstringrequired