MCPcopy
hub / github.com/Dokploy/dokploy / removeUserById

Function removeUserById

packages/server/src/services/admin.ts:99–105  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

97};
98
99export const removeUserById = async (userId: string) => {
100 await db
101 .delete(user)
102 .where(eq(user.id, userId))
103 .returning()
104 .then((res) => res[0]);
105};
106
107export const getDokployUrl = async () => {
108 if (IS_CLOUD) {

Callers 1

user.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected