GET/repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}

Check whether a user can be assigned to an issue

Checks whether a user can be assigned to a specific issue in a repository. Use assignee to identify the user and the repository and issue parameters to specify where you want to assign them.

4 parameters
ownerstringrequired
The account that owns the repository; the name is not case-sensitive.
repostringrequired
The repository name without the `.git` extension; the name is not case-sensitive.
issue_numberintegerrequired
The number that identifies the issue to check.
assigneestringrequired
The username of the user whose assignment eligibility you want to check.

2 status codes
204Returns no response body when the user can be assigned to the issue.
404Returned when the user cannot be assigned to the issue.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned when assignee cannot be assigned to the issue identified by issue_number in the specified repository.