# Remove a line item from a payroll run

`DELETE /api/payroll-run/{id}/items/{itemId}`

Authentication: no security requirement declared for this operation.

Parameters:

- `id` (path, string, required)
  Type: string

- `itemId` (path, string, required)
  Type: string

- `organizationId` (query, string, required)
  Type: string

Responses:

- 204: The line item has been removed.

- 404: Record not found

## Examples

### cURL

```bash
curl -X DELETE 'http://localhost:3000/api/payroll-run/string/items/string?organizationId=string'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/payroll-run/string/items/string?organizationId=string', {
  method: 'DELETE',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.delete('http://localhost:3000/api/payroll-run/string/items/string?organizationId=string')
print(response.text)
```
