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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;limit&quot;:&quot;collaborators_only&quot;,&quot;origin&quot;:&quot;repository&quot;,&quot;expires_at&quot;:&quot;2018-08-17T04:18:39Z&quot;}