---
type: api
title: Stop Entity Store engines
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v9/operation/operation-put-security-entity-store-stop
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v9/operation/operation-put-security-entity-store-stop
products:
  - Kibana
---

# Stop Entity Store engines

- Server: `https://{kibana_url}`

## Paths

- `PUT` `/api/security/entity_store/stop`
- `PUT` `/s/{space_id}/api/security/entity_store/stop`

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Stop running entity engines, pausing data processing for the specified entity types.

## Required authorization

- Privileges: `securitySolution`

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## Header parameters

- `kbn-xsrf` (string) — required
  A required header to protect against CSRF attacks

## Request body

`application/json`

- `entityTypes` (enum[] · default: [
  "user",
  "host",
  "service",
  "generic"
]) — optional
  Entity types to stop. Defaults to all running types.
  Values: `user`, `host`, `service`, `generic`

## Response

Indicates a successful response.

`application/json`

## Code examples

#### Console

```console
PUT kbn://api/security/entity_store/stop
{
  "entityTypes": ["user", "host", "service", "generic"]
}
```

#### curl

```curl
curl -X PUT -H "kbn-xsrf: true" -H "Authorization: ApiKey ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"entityTypes":["user","host","service","generic"]}' \
  "${KIBANA_URL}/api/security/entity_store/stop"
```

## Response examples

#### Engines stopped

The specified entity engines were successfully stopped.

```json
{
  "ok": true
}
```

