Skip to main content

Update handlers key

Replaces the handler key with a new one

Function UpdateHandlersKey(Val Project, Val HandlersKey, Val NewKey = "") Export

ParameterCLI optionTypeRequiredDescription
Project--projStringProject filepath
HandlersKey--handlerStringHandlers key
NewKey--keyStringYour own key, if necessary. New standard UUID by default

Returns: Structure Of KeyAndValue - Handlers information


    melezh  UpdateHandlersKey \
--proj "/proj.melezh" \
--handler "c5995f124" \
--key "***"
Result
{
"data": {
"active": 1,
"function": "CreatePost",
"key": "c5995f124",
"library": "vk",
"method": "FORM",
"args": []
},
"result": true
}