PUT /service/subscriber/{SearchTerm:.+}/password
This service modifies a subscriber's password. You must pass in the old password value to check whether it is a match with existing password in the database, before setting the new password. The method will handle the compare and persistence using the defined password encoder.
- Class
- service
- Name
- change_password_check
- Method
- PUT
- URL (Deprecated)
- /json/service/subscriber/{SearchTerm:.+}/password
- See also:
- /service/user/{SearchTerm:.+}/password
- URL Parameters
-
Parameter Data Type Description SearchTerm RestQueryTerm Default is the object id of the subscriber. Qualifiers of ObjectId, ExternalId, PhoneNumber, Imsi, AccessNumber, LoginId and AccessId can be specified. - Request Parameters
-
Parameter Data Type Description Usage TrafficRouteData String Optional routing data used by the TRA to route this subman call to the correct engine. optional - Input
-
SubscriberChangePasswordRequest
<SubscriberChangePasswordRequest> <OldPassword>{String}</OldPassword> <NewPassword>{String}</NewPassword> <ExecuteMode>{Integer}</ExecuteMode> <ApiEventData> <MtxApiEventDataExtension /> </ApiEventData> <RelatedMsgId>{String}</RelatedMsgId> <ApiEventSecurityInfo> <MtxApiEventSecurityInfo> <ClientIpAddress>{String}</ClientIpAddress> <ClientUserName>{String}</ClientUserName> <ClientSessionId>{String}</ClientSessionId> </MtxApiEventSecurityInfo> </ApiEventSecurityInfo> </SubscriberChangePasswordRequest>
- Output
-
MtxResponse
<MtxResponse> <Result>{Long}</Result> <ResultText>{String}</ResultText> <RelatedMsgId>{String}</RelatedMsgId> <TenantId>{String}</TenantId> </MtxResponse>