Set interaction restrictions for a repository
PUT {{baseUrl}}/repos/:owner/:repo/interaction-limits
Temporarily restricts interactions to certain GitHub users within the given repository. You must have owner or admin access to set restrictions.
Request Body
{"limit"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"limit":"collaborators_only","origin":"repository","expires_at":"2018-08-17T04:18:39Z"}