Get service accounts

Auth

Get a list of service accounts that match the provided path parameters.

Note

Currently, only the elastic/fleet-server service account is available.

Read the reference documentation

Required privileges

Cluster privileges manage_service_account

Path parameters

namespace string optional

The name of the namespace. Omit this parameter to retrieve information about all service accounts. If you omit this parameter, you must also omit the service parameter.

Leave it out to use /_security/service.

service string optional

The service name. Omit this parameter to retrieve information about all service accounts that belong to the specified namespace.

Leave it out to use /_security/service.

Response

application/json