# Uninstalling RPG API Express RPG API Express licenses may be transferred to a different IBM i, or a different partition. Part of this process will involve uninstalling the product from the original machine/partition. 1. End the Apache server instance: `ENDTCPSVR SERVER(*HTTP) HTTPSVR(RXS)` 2. Delete the RPG API Express install library: `DLTLIB RXS` 3. Run QShell command to recursively remove the RXS directory and everything in it: `QSH CMD('rm -Rf /www/RXS')` 4. Run QShell command to recursively remove the /krengeltech directory and everything in it: `QSH CMD('rm -Rf /krengeltech')` 5. Remove the Apache server instance from OS/400: `RMVM FILE(QUSRSYS/QATMHINSTC) MBR(RXS)`