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

Perform various actions on the hosts in your environment.

The following permission is required to run this action:

* `Hosts`: **Write**.

<Note>
  External Documentation

  To learn more, visit the [CrowdStrike documentation](https://falcon.us-2.crowdstrike.com/documentation/page/c0b16f1b/host-and-host-group-management-apis#zff884a6).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
  | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Action Name | Specify one of these actions:<br /><br />- `contain` - This action contains the host, which stops any network communications to locations other than the CrowdStrike cloud and IPs specified in your [Containment Policy](https://falcon.crowdstrike.com/support/documentation/11/getting-started-guide#containmentpolicy).<br /><br />- `lift_containment` - This action lifts containment on the host, which returns its network communications to normal.<br /><br />- `hide_host` - This action will delete a host. After the host is deleted, no new detections for that host will be reported via UI or APIs.<br /><br />- `unhide_host` - This action will restore a host. Detection reporting will resume after the host is restored. |
  | Host IDs    | A comma-separated list of host IDs to perform the action on. Can be obtained via the `List Devices` action.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter         | Description                                                                                                                                                                                        |
  | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Action Parameters | A comma-separated list of the parameters for the prospective action.<br />Example value:<br /><pre><code>\{"name": "name1", "value": "value1"}, \{"name": "name2", "value": "value2"}</code></pre> |
</div>

## Example Output

```json theme={"dark"}
{
	"meta": {
		"query_time": 0.0000000001,
		"powered_by": "device-api",
		"trace_id": "0000000-00000-0000-0000-000000000000"
	},
	"resources": [
		{
			"id": "00000000001111112222233334444",
			"path": "/path/to/device"
		}
	],
	"errors": []
}
```

## Workflow Library Example

[Isolate or Unisolate Device on Crowdstrike](https://library.blinkops.com/workflows/isolate-or-unisolate-device-on-crowdstrike)

<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/isolate-or-unisolate-device-on-crowdstrike/canvas" />
</div>
