MCPcopy Index your code
hub / github.com/GetStream/stream-cli / DeleteUser

Function DeleteUser

test/helpers.go:69–75  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

67}
68
69func DeleteUser(id string) {
70 c := InitClient()
71 _, _ = c.DeleteUser(context.Background(),
72 id,
73 stream.DeleteUserWithHardDelete(),
74 stream.DeleteUserWithDeleteConversations())
75}
76
77func CreateMessage(channelID, userID string) string {
78 return CreateMessageWithText(channelID, userID, RandomString(10))

Callers 15

TestCreateTokenFunction · 0.92
TestUpsertUserFunction · 0.92
TestUpdateUserPartialFunction · 0.92
TestQueryUserFunction · 0.92
TestRevokeTokenFunction · 0.92
TestBanUnbanUserFunction · 0.92
TestDeactivateReactivateFunction · 0.92
TestMuteUnmuteFunction · 0.92
TestFlagFunction · 0.92
TestPushTestFunction · 0.92
TestReactionsFunction · 0.92

Calls 1

InitClientFunction · 0.85

Tested by 15

TestCreateTokenFunction · 0.74
TestUpsertUserFunction · 0.74
TestUpdateUserPartialFunction · 0.74
TestQueryUserFunction · 0.74
TestRevokeTokenFunction · 0.74
TestBanUnbanUserFunction · 0.74
TestDeactivateReactivateFunction · 0.74
TestMuteUnmuteFunction · 0.74
TestFlagFunction · 0.74
TestPushTestFunction · 0.74
TestReactionsFunction · 0.74