docs/content/rest/interactions/user.md at main · github/docs · GitHub
Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.39 KB

user.md

File metadata and controls

26 lines (21 loc) · 1.39 KB
title REST API endpoints for user interactions
shortTitle User
allowTitleToDifferFromFilename true
intro Use the REST API to temporarily restrict which type of user can comment, open issues, or create pull requests in your public repositories.
versions
fpt ghec
*
*
autogenerated rest
category
Manage users and activity

About user interactions

You can use the REST API to temporarily restrict which type of user can comment, open issues, or create pull requests on your public repositories. {% data reusables.interactions.interactions-detail %} Here's more about the types of {% data variables.product.github %} users:

  • {% data reusables.interactions.existing-user-limit-definition %} from interacting with your repositories.
  • {% data reusables.interactions.contributor-user-limit-definition %} from interacting with your repositories.
  • {% data reusables.interactions.collaborator-user-limit-definition %} from interacting with your repositories.

Setting the interaction limit at the user level will overwrite any interaction limits that are set for individual repositories owned by the user. To set different interaction limits for individual repositories owned by the user, use the Repository interactions endpoints instead.