File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
proto/spaceone/api/identity/v2 Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,13 @@ service UserProfile {
22
22
};
23
23
}
24
24
25
+ rpc update_password (UpdatePasswordUserProfileRequest ) returns (UserInfo ) {
26
+ option (google.api.http ) = {
27
+ post : "/identity/v2/user-profile/update-password"
28
+ body : "*"
29
+ };
30
+ }
31
+
25
32
26
33
rpc verify_email (VerifyEmailRequest ) returns (google .protobuf .Empty ) {
27
34
option (google.api.http ) = {
@@ -107,6 +114,17 @@ message UpdateUserProfileRequest {
107
114
google.protobuf.Struct tags = 6 ;
108
115
}
109
116
117
+ //{
118
+ // "current_password": "password",
119
+ // "new_password": "new_password"
120
+ //}
121
+ message UpdatePasswordUserProfileRequest {
122
+ string new_password = 1 ;
123
+ // +optional
124
+ string current_password = 2 ;
125
+
126
+ }
127
+
110
128
//{
111
129
112
130
//}
You can’t perform that action at this time.
0 commit comments