# Remove a repository collaborator

From **GitHub v3 REST API**.

`DELETE /repos/{owner}/{repo}/collaborators/{username}`

Remove a repository collaborator

## Parameters

### `owner`

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

### `repo`

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

### `username`

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

## Responses

### `204`

Response

## Request examples

### cURL

```shell
curl --request DELETE \
  --url {protocol}://{hostname}/api/v3/repos/{owner}/{repo}/collaborators/{username}
```
