chore(js-sdk): Remove create user method from SDK (#11186)

Endpoint doesn't exist. Admin users can only be created through invites at the HTTP level.
This commit is contained in:
Oli Juhl
2025-01-28 13:11:58 +01:00
committed by GitHub
parent 8af4fb0ba7
commit ae3292c98b

View File

@@ -14,19 +14,6 @@ export class User {
this.client = client
}
async create(
body: HttpTypes.AdminCreateUser,
query?: HttpTypes.AdminUserParams,
headers?: ClientHeaders
) {
return this.client.fetch<HttpTypes.AdminUserResponse>(`/admin/users`, {
method: "POST",
headers,
body,
query,
})
}
async update(
id: string,
body: HttpTypes.AdminUpdateUser,