> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Perform Host Action

Performs the action specified in the "act" parameter● Isolate endpoint: Prevents the endpoin from connecting to the network● Restore connection: Restores network connectivity to an isolated endpoint● Uninstall Security Agent: Removes the Security Agent program from an endpoint● Relocate Security Agent: Moves the Security Agent to a different Apex One server or domain (the source and target must be registered to the same Apex Central server).

## Parameters

<div className="integrations-table">
  | Parameter               | Description                                                                           |
  | ----------------------- | ------------------------------------------------------------------------------------- |
  | Action Name             | The action to be performed on the selected host.                                      |
  | Endpoint                | Select the endpoint's hostname for the managed agent product or manually type its ID. |
  | Relocate To Folder Path | The target directory for the agent.                                                   |
  | Relocate To Server ID   | The GUID of the target server for the agent.                                          |
</div>

## Example Output

```json theme={"dark"}
{
	"result_code": 0,
	"result_content": {},
	"result_description": "string"
}
```

## Workflow Library Example

[Perform Host Action with Apex One and Send Results Via Email](https://library.blinkops.com/workflows/perform-host-action-with-apex-one-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/perform-host-action-with-apex-one-and-send-results-via-email/canvas" />
</div>
