(cherry picked from commit f737290d10)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
13 lines
319 B
Plaintext
13 lines
319 B
Plaintext
// This file is autogenerated, DO NOT EDIT
|
|
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
|
|
|
|
[source, js]
|
|
----
|
|
const response = await client.security.activateUserProfile({
|
|
grant_type: "password",
|
|
username: "jacknich",
|
|
password: "l0ng-r4nd0m-p@ssw0rd",
|
|
});
|
|
console.log(response);
|
|
----
|