Files
elasticsearch-js/docs/reference-security-get_service_accounts.asciidoc
2024-12-05 14:46:52 -06:00

73 lines
4.1 KiB
Plaintext

[[reference-security-get_service_accounts]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|| You should update the script that does the generation, which can be found in: ||
|| https://github.com/elastic/elastic-client-generator-js ||
|| ||
|| You can run the script with the following command: ||
|| npm run elasticsearch -- --version <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
[discrete]
[[client.security.getServiceAccounts]]
=== client.security.getServiceAccounts
Get service accounts. Get a list of service accounts that match the provided path parameters.
{ref}/security-api-get-service-accounts.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(SecurityGetServiceAccountsRequest, options?): Promise<SecurityGetServiceAccountsResponse>
----
[discrete]
==== SecurityGetServiceAccountsRequest
[pass]
++++
<pre>
++++
interface SecurityGetServiceAccountsRequest extends <<RequestBase>> {
namespace?: <<Namespace>>
service?: <<Service>>
}
[pass]
++++
</pre>
++++
[discrete]
==== SecurityGetServiceAccountsResponse
[pass]
++++
<pre>
++++
type SecurityGetServiceAccountsResponse = Record<string, SecurityGetServiceAccountsRoleDescriptorWrapper>
[pass]
++++
</pre>
++++