# Check if a user can be assigned

From **GitHub v3 REST API**.

`GET /repos/{owner}/{repo}/assignees/{assignee}`

Checks if a user has permission to be assigned to an issue in this repository.

If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.

Otherwise a `404` status code is returned.

## Parameters

### `owner`

- Location: path
- Required: true
- Type: `string`

### `repo`

- Location: path
- Required: true
- Type: `string`

### `assignee`

- Location: path
- Required: true
- Type: `string`

## Responses

### `204`

If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.

### `404`

Otherwise a `404` status code is returned.

### `application/json`

- Type: `object`

Basic Error

```json
{"description":"Basic Error","properties":{"documentation_url":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"url":{"type":"string"}},"title":"Basic Error","type":"object"}
```

## Request examples

### cURL

```shell
curl --request GET \
  --url {protocol}://{hostname}/api/v3/repos/{owner}/{repo}/assignees/{assignee}
```
