Generate password with the REST API

Generate password with the REST API

I'am able to use the REST API to change a password. But is it possible to generate the password according to the policy associated to the resource ?
                New to ADManager Plus?

                  New to ADSelfService Plus?