summaryrefslogtreecommitdiffstats
path: root/src/commands/module-unload.json
blob: f2fbf80fa8e66c800f7a493a6df1a316eecc3964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
    "UNLOAD": {
        "summary": "Unloads a module.",
        "complexity": "O(1)",
        "group": "server",
        "since": "4.0.0",
        "arity": 3,
        "container": "MODULE",
        "function": "moduleCommand",
        "command_flags": [
            "NO_ASYNC_LOADING",
            "ADMIN",
            "NOSCRIPT",
            "PROTECTED"
        ],
        "reply_schema": {
            "const": "OK"
        },
        "arguments": [
            {
                "name": "name",
                "type": "string"
            }
        ]
    }
}