1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-01 22:29:52 +02:00
Files
OpenIntegrations/docs/en/md/Addons/Melezh/Console-Interface/Handlers-configuration/Update-handlers-key.mdx
Vitaly the Alpaca (bot) de86177bb5 Main build (Jenkins)
2025-05-27 20:20:04 +03:00

66 lines
1.6 KiB
Plaintext
Vendored

---
sidebar_position: 8
description: Update handlers key and other functions to work with Melezh in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Update handlers key
Replaces the handler key with a new one
`Function UpdateHandlersKey(Val Project, Val HandlersKey, Val NewKey = "") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Project | --proj | String | ✔ | Project filepath |
| HandlersKey | --handler | String | ✔ | Handlers key |
| NewKey | --key | String | ✖ | Your own key, if necessary. New standard UUID by default |
Returns: Structure Of KeyAndValue - Handlers information
<br/>
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
melezh UpdateHandlersKey \
--proj "C:\Users\bayselonarrend\AppData\Local\Temp\zyu1bxem.yut" \
--handler "20b4efd32" \
--key "***"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
melezh UpdateHandlersKey ^
--proj "C:\Users\bayselonarrend\AppData\Local\Temp\zyu1bxem.yut" ^
--handler "20b4efd32" ^
--key "***"
```
</TabItem>
</Tabs>
```json title="Result"
{
"data": {
"active": 1,
"function": "CreatePost",
"key": "564b1dd71",
"library": "vk",
"method": "FORM",
"args": []
},
"result": true
}
```