# Get service accounts **GET /_security/service/{namespace}/{service}** **All methods and paths for this operation:**
GET /_security/service
GET /_security/service/{namespace}
GET /_security/service/{namespace}/{service}
Get a list of service accounts that match the provided path parameters. NOTE: Currently, only the `elastic/fleet-server` service account is available. ## Required authorization * Cluster privileges: `manage_service_account` [External documentation](https://www.elastic.co/guide/en/elasticsearch/reference/8.19/service-accounts.html) ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Api key auth - Basic auth - Bearer auth ## Parameters ### Path parameters - **namespace** (string) 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. - **service** (string) The service name. Omit this parameter to retrieve information about all service accounts that belong to the specified `namespace`. ## Responses ### 200 #### Body: application/json (object) - ***** (object) [Powered by Bump.sh](https://bump.sh)