1
0
mirror of synced 2025-12-26 14:02:45 -05:00
Files
docs/content/rest/interactions/user.md
2025-01-22 11:12:58 +00:00

27 lines
1.4 KiB
Markdown

---
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: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
topics:
- API
autogenerated: rest
---
## 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](/rest/interactions/repos) interactions endpoints instead.
<!-- Content after this section is automatically generated -->