Files
elasticsearch-js/docs/doc_examples/8a617dbfe5887f8ecc8815de132b6eb0.asciidoc
2024-07-29 17:10:05 -05:00

13 lines
340 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.putUser({
username: "cross-cluster-kibana",
password: "l0ng-r4nd0m-p@ssw0rd",
roles: ["logstash-reader", "kibana-access"],
});
console.log(response);
----