2025-01-29 23:01:38 +03:00
|
|
|
---
|
2025-01-31 17:10:45 +03:00
|
|
|
sidebar_position: 4
|
2025-01-29 23:01:38 +03:00
|
|
|
---
|
|
|
|
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
|
|
|
|
# Delete request handler
|
|
|
|
Removes the request handler from the project
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`Function DeleteRequestHandler(Val Project, Val HandlerKey) Export`
|
|
|
|
|
|
|
|
| Parameter | CLI option | Type | Required | Description |
|
|
|
|
|-|-|-|-|-|
|
|
|
|
| Project | --proj | String | ✔ | Project filepath |
|
|
|
|
| HandlerKey | --handler | String | ✔ | Handler key |
|
|
|
|
|
|
|
|
|
|
|
|
Returns: Structure Of KeyAndValue - Deletion result
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bsl title="1C:Enterprise/OneScript code example"
|
2025-02-01 00:01:56 +03:00
|
|
|
Project = "C:\Users\Administrator\AppData\Local\Temp\v8_80F8_17.oint";
|
|
|
|
HandlerKey = "9DD3...";
|
2025-01-29 23:01:38 +03:00
|
|
|
|
2025-01-30 19:59:05 +03:00
|
|
|
Result = OPI_IntegrationProxy.DeleteRequestHandler(Project, HandlerKey);
|
2025-01-29 23:01:38 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|