MCPcopy Create free account
hub / github.com/LeChatErrant/API-template / deleteUser

Method deleteUser

src/appRequester.ts:86–90  ·  view source on GitHub ↗
(userId: string, statusCodeExpected = httpStatus.NO_CONTENT)

Source from the content-addressed store, hash-verified

84 }
85
86 async deleteUser(userId: string, statusCodeExpected = httpStatus.NO_CONTENT) {
87 await this.request
88 .delete(`/users/${userId}`)
89 .expect(statusCodeExpected);
90 }
91
92 async createPost(userId: string, payload: any, statusCodeExpected = httpStatus.CREATED) {
93 const { body } = await this.request

Callers 2

userRoutes.tsFile · 0.80
user.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected