---
title: "Isolates devices."
method: POST
path: "/api/v1/accounts/{accountId}/devices/isolation"
---

# Isolates devices.

`POST /api/v1/accounts/{accountId}/devices/isolation`

## Request

- Base URL: `https://api.usa.cloud.watchguard.com/rest/aether-endpoint-security/aether-mgmt`
- URL: `https://api.usa.cloud.watchguard.com/rest/aether-endpoint-security/aether-mgmt/api/v1/accounts/{accountId}/devices/isolation`
- Auth: API key in header `WatchGuard-API-Key` and HTTP bearer
- TypeScript: <https://skmtc.dev/watchguard/apis/aether-endpoint-security-api/docs/api/v1/accounts/:accountId/devices/isolation/post.ts> (a function with typed inputs; its response is checked against the schema)

Isolates the specified devices.

## Path parameters

- `accountId` string, required

## Request body

- IsolationDevicesInput
  - `device_ids` string[]
  - `exclusion_programs` string[]: List of programs to exclude from isolation and allow to communicate normally.
  - `customized_message` string: Text to show in an alert message on the isolated devices.
  - `hide_customized_alert` boolean: Indicates whether to hide the customized alert message on isolated devices.

## Response `200`

OK. Returns the IDs of devices isolated in this operation.

- IsolationDevicesOutput
  - `processed_device_ids` string[]
  - `no_executed_by_not_found_device_ids` string[]

## Other responses

- `400`: BAD REQUEST.
- `403`: ACCESS DENIED.
- `404`: NOT FOUND.
- `405`: METHOD NOT ALLOWED.
- `500`: INTERNAL ERROR.

---

[API](https://skmtc.dev/watchguard/apis/aether-endpoint-security-api.md) - [All operations](https://skmtc.dev/watchguard/apis/aether-endpoint-security-api/llms.txt) - [OpenAPI document](https://skmtc.dev/watchguard/apis/aether-endpoint-security-api/revisions/1376eee70d39?raw)
