Back to Redis

MODULE UNLOAD

content/commands/module-unload.md

latest1.1 KB
Original Source

Unloads a module.

This command unloads the module specified by name. Note that the module's name is reported by the [MODULE LIST]({{< relref "/commands/module-list" >}}) command, and may differ from the dynamic library's filename.

Known limitations:

  • Modules that register custom data types can not be unloaded.

Redis Software and Redis Cloud compatibility

| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | |

Return information

{{< multitabs id="module-unload-return-info" tab1="RESP2" tab2="RESP3" >}}

Simple string reply: OK if the module was unloaded.

-tab-sep-

Simple string reply: OK if the module was unloaded.

{{< /multitabs >}}