feat: Add team deletion flow for cloud-hosted (#5717)
This commit is contained in:
@@ -33,3 +33,12 @@ export const UsersUpdateSchema = BaseSchema.extend({
|
||||
});
|
||||
|
||||
export type UsersUpdateReq = z.infer<typeof UsersUpdateSchema>;
|
||||
|
||||
export const UsersDeleteSchema = BaseSchema.extend({
|
||||
body: z.object({
|
||||
code: z.string().optional(),
|
||||
id: z.string().uuid().optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
export type UsersDeleteSchemaReq = z.infer<typeof UsersDeleteSchema>;
|
||||
|
||||
Reference in New Issue
Block a user