Class ByProjectKeyCustomersPasswordResetPostString

All Implemented Interfaces:
ErrorableTrait<ByProjectKeyCustomersPasswordResetPostString>, ClientRequestCommand<Customer>, CreateHttpRequestCommand, HttpRequestCommand<Customer>, RequestCommand<Customer>

Use this method to reset a global Customer's password during their password reset process.

After the password is reset, any previously issued access and/or refresh tokens created through the password flow or refresh token flow are invalidated.

Resetting the password of the Customer produces the CustomerPasswordUpdated Message with reset=true.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.Customer>> result = apiRoot
            .withProjectKey("{projectKey}")
            .customers()
            .passwordReset()
            .post("")
            .execute()