# Remove an event-to-workflow mapping

`DELETE /api/integration/sim/events/mappings/{event}`

Authentication (security requirement alternatives):

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

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

Parameters:

- `event` (path, string, required) - The event type to remove from mapping (e.g., timer.started)
  Type: string

Responses:

- 200: Event mapping removed

- 404: SIM integration not found

## Examples

### cURL

```bash
curl -X DELETE 'http://localhost:3000/api/integration/sim/events/mappings/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/integration/sim/events/mappings/string', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
  },
});

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

### Python

```python
import requests

response = requests.delete(
    'http://localhost:3000/api/integration/sim/events/mappings/string',
    headers={
        'Authorization': 'Bearer YOUR_TOKEN',
    },
)
print(response.text)
```
