22 lines
1.3 KiB
Markdown
22 lines
1.3 KiB
Markdown
---
|
|
title: User interactions
|
|
shortTitle: User
|
|
allowTitleToDifferFromFilename: true
|
|
intro: 'The User interactions API allows you to temporarily restrict which type of user can comment, open issues, or create pull requests on your public repositories.'
|
|
versions:
|
|
fpt: '*'
|
|
ghec: '*'
|
|
topics:
|
|
- API
|
|
miniTocMaxHeadingLevel: 3
|
|
---
|
|
|
|
## About the User interactions API
|
|
|
|
The User interactions API allows you 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.product_name %} 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](#repository) interactions endpoints instead. |