> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/action-center/sentinelone/disable-agents.md).

# Disable Agents

Disables the SentinelOne agent of every device the workflow collected. According to the job description, disabled agents run with a minimal footprint and do not detect or mitigate threats, so use it for planned maintenance or troubleshooting and set an expiration where you can.

### Before you begin

* A SentinelOne management console domain and an API token that is allowed to run this action. Enter them in the job, or save them once as defaults (see [Action Center Settings](broken://pages/901350e1f6816b2aa976f94576b97b9d1582c31b)).
* Asset type: `device` only.
* Required column: `Hostname`. Devices without a value in this column are left out before the job runs.
* A condition node before the job, so that devices are collected for it to act on.

{% hint style="warning" %}
With no Expiration the agents stay disabled until someone enables them. Pair this job with [Enable Agents](broken://pages/3a9e8fe7757074142c59d7ce5f8be17d27965532) or set an Expiration.
{% endhint %}

### Settings

| Setting             | Type     | Required | Default | Description                                                                                                                                |
| ------------------- | -------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| SentinelOne Domain  | Text     | Yes      | None    | Your SentinelOne management console domain, for example `your-console.sentinelone.net`. Enter the host name only; the job adds `https://`. |
| API Token           | Text     | Yes      | None    | SentinelOne API token with the permissions this action needs. Sent as `Authorization: ApiToken ...`. Not masked in the console.            |
| Request Timeout     | Number   | No       | 30      | Timeout in seconds for each API request.                                                                                                   |
| Should Reboot       | Checkbox | No       | Off     | Whether the agent should reboot after being disabled.                                                                                      |
| Expiration          | Text     | No       | Empty   | Expiration date in ISO 8601 format, for example `2025-12-31T23:59:59Z`. Leave blank for no expiration.                                     |
| Expiration Timezone | Text     | No       | Empty   | Timezone for the expiration, for example `UTC` or `US/Eastern`.                                                                            |

### How it works

The job sends one request per device, not one request for all devices. For each device it sends a `POST` to `https://<domain>/web/api/v2.1/agents/actions/disable-agent` with a filter that selects that one agent, and the data `shouldReboot`. `expiration` and `expirationTimezone` are added only when you fill them in.

For each device the job picks the agent like this: if the asset has `Specifics.sentinelone-edr.id`, the agent is matched by that ID; otherwise it is matched by computer name using the device `Hostname`. A device with neither is skipped.

The job does not check the response status. If SentinelOne rejects a request (for example because of a missing permission or an unknown agent), nothing is raised and the job continues. Only a failure to send the request (for example a timeout or a connection error) is written to the log for that device, and the job continues with the next device.

When it finishes, the job passes the assets it received on to the next node unchanged.

### Example

```
SentinelOne Domain: your-console.sentinelone.net
API Token:         YOUR_API_TOKEN
Request Timeout:   30
Should Reboot:     Off
Expiration:        2026-12-31T23:59:59Z
Expiration Timezone: UTC
```

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>About Action Center</strong></td><td>Workflows, triggers, conditions and job nodes.</td><td><a href="broken://pages/49aa8aca1c261c00834abce192d5195e633f8214">Broken link</a></td></tr><tr><td><strong>Action Center Settings</strong></td><td>Save default values and SSH connections for jobs.</td><td><a href="broken://pages/901350e1f6816b2aa976f94576b97b9d1582c31b">Broken link</a></td></tr><tr><td><strong>Enable Agents</strong></td><td>Re-enable disabled agents.</td><td><a href="broken://pages/3a9e8fe7757074142c59d7ce5f8be17d27965532">Broken link</a></td></tr><tr><td><strong>Initiate Scan</strong></td><td>Run a Full Disk Scan.</td><td><a href="broken://pages/016122539f90208854c3be0d495f7a49f05d16c1">Broken link</a></td></tr></tbody></table>

{% hint style="info" %}
Available starting from version 6.3.1.
{% endhint %}
