Add api to deactivate user account

This commit is contained in:
Lakhan Samani
2023-10-11 00:16:53 +05:30
parent ad41bcf792
commit 843bc022fe
7 changed files with 180 additions and 0 deletions

View File

@@ -587,6 +587,7 @@ type Mutation {
revoke(params: OAuthRevokeInput!): Response!
verify_otp(params: VerifyOTPRequest!): AuthResponse!
resend_otp(params: ResendOTPRequest!): Response!
deactivate_account: Response!
# admin only apis
_delete_user(params: DeleteUserInput!): Response!
_update_user(params: UpdateUserInput!): User!