feat(user): add support to delete user (#3374)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Apoorv Dixit
2024-01-25 12:37:35 +05:30
committed by GitHub
parent f0c7bb9a52
commit 777771048a
14 changed files with 271 additions and 21 deletions

View File

@ -1,3 +1,5 @@
use common_utils::pii;
use crate::user::DashboardEntryResponse;
#[derive(Debug, serde::Serialize)]
@ -101,3 +103,8 @@ pub struct AcceptInvitationRequest {
}
pub type AcceptInvitationResponse = DashboardEntryResponse;
#[derive(Debug, serde::Deserialize, serde::Serialize)]
pub struct DeleteUserRoleRequest {
pub email: pii::Email,
}