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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user