# Soft delete a record by ID

`DELETE /api/organization-employment-type/{id}/soft`

Authentication (security requirement alternatives):

```json
[
  {
    "bearer": []
  }
]
```

- bearer: http (bearer), header JWT. Enter JWT token

Parameters:

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

Responses:

- 202: Record soft deleted successfully

- 401: Unauthorized

- 403: Forbidden

## Examples

### cURL

```bash
curl -X DELETE 'http://localhost:3000/api/organization-employment-type/string/soft' \
  -H 'Authorization: Bearer YOUR_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/organization-employment-type/string/soft', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
  },
});

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

### Python

```python
import requests

response = requests.delete(
    'http://localhost:3000/api/organization-employment-type/string/soft',
    headers={
        'Authorization': 'Bearer YOUR_TOKEN',
    },
)
print(response.text)
```
