# Terminate a process **POST /api/endpoint/action/kill_process** **Spaces method and path for this operation:**
post /s/{space_id}/api/endpoint/action/kill_process
Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information. Terminate a running process on an endpoint. ## Servers - https://localhost:5601: https://localhost:5601 () ## Authentication methods - Api key auth - Basic auth ## Parameters ### Body: application/json (object) - **agent_type** (string) List of agent types to retrieve. Defaults to `endpoint`. - **alert_ids** (array[string]) If this action is associated with any alerts, they can be specified here. The action will be logged in any cases associated with the specified alerts. Max of 50. - **case_ids** (array[string]) The IDs of cases where the action taken will be logged. Max of 50. - **comment** (string) Optional comment - **endpoint_ids** (array[string]) List of endpoint IDs (cannot contain empty strings). Max of 250. - **parameters** (object) - **parameters** (object) Parameters object ## Responses ### 200 Indicates a successful call. #### Body: application/json (object) - **data** (object) [Powered by Bump.sh](https://bump.sh)