mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
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:
@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user