# Soft delete a record by ID

`DELETE /api/employee-proposal-template/{id}/soft`

Authentication (security requirement alternatives):

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

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

Responses:

- 202: Record soft deleted successfully

- 401: Unauthorized

- 403: Forbidden

- 404: Record not found

## Examples

### cURL

```bash
curl -X DELETE 'http://localhost:3000/api/employee-proposal-template/%7Bid%7D/soft' \
  -H 'Authorization: Bearer YOUR_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/employee-proposal-template/%7Bid%7D/soft', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
  },
});

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

### Python

```python
import requests

response = requests.delete(
    'http://localhost:3000/api/employee-proposal-template/%7Bid%7D/soft',
    headers={
        'Authorization': 'Bearer YOUR_TOKEN',
    },
)
print(response.text)
```
