# Delete the Entity Engine
**DELETE /api/entity_store/engines/{entityType}**
**Spaces method and path for this operation:**
delete /s/{space_id}/api/entity_store/engines/{entityType}
Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.
## Servers
- https://: https:// ()
## Authentication methods
- Api key auth
## Parameters
### Path parameters
- **entityType** (string)
The entity type of the engine (either 'user' or 'host').
### Query parameters
- **delete_data** (boolean)
Control flag to also delete the entity data.
- **data** (boolean)
Control flag to also delete the entity data.
## Responses
### 200
Successful response
#### Body: application/json (object)
- **deleted** (boolean)
Whether the engine was successfully deleted.
[Powered by Bump.sh](https://bump.sh)