---
type: api
title: Stop an Entity Engine
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v8/operation/operation-stopentityengine
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v8/operation/operation-stopentityengine
products:
  - Kibana
---

# Stop an Entity Engine

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

## Paths

- `POST` `/api/entity_store/engines/{entityType}/stop`
- `POST` `/s/{space_id}/api/entity_store/engines/{entityType}/stop`

#### Path parameters

- `entityType` (enum) — required
  The entity type of the engine to stop.
  Values: `user`, `host`, `service`

## Description

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

Stop a running entity engine, pausing transform processing for the given entity type.

## 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>`

## Response

Successful response

`application/json`

- `stopped` (boolean)
  Whether the engine was successfully stopped.
## Code examples

#### Console

```console
POST kbn:/api/entity_store/engines/host/stop
```

#### curl

```curl
curl -X POST "${KIBANA_URL}/api/entity_store/engines/host/stop" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response examples

#### Engine stopped successfully

The engine was successfully stopped and is no longer processing data.

```json
{
  "stopped": true
}
```

