Skip to content

Get interaction restrictions for an organization

GET
/orgs/{org}/interaction-limits

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.

API method documentation

org
required
string

The organization name. The name is not case sensitive.

Response

Media type application/json
Any of:
Interaction Limits

Interaction limit settings.

object
limit
required

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

string
Allowed values: existing_users contributors_only collaborators_only
origin
required
string
expires_at
required
string format: date-time
Examples
Example default
{
"limit": "collaborators_only",
"origin": "organization",
"expires_at": "2018-08-17T04:18:39Z"
}