# Remove an organization member

From **GitHub v3 REST API**.

`DELETE /orgs/{org}/members/{username}`

Removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories.

## Parameters

### `org`

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

### `username`

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

## Responses

### `204`

Response

### `403`

Forbidden

### `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 DELETE \
  --url {protocol}://{hostname}/api/v3/orgs/{org}/members/{username}
```
