---
title: "POST /api/v1/computers/set-excluded-from-user-affinity"
method: POST
path: "/api/v1/computers/set-excluded-from-user-affinity"
tags: ["Computers"]
---

# POST /api/v1/computers/set-excluded-from-user-affinity

`POST /api/v1/computers/set-excluded-from-user-affinity`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/computers/set-excluded-from-user-affinity`
- Auth: none declared

## Request body

- BatchSetExcludedFromUserAffinityRequestBody
  - `computerIds` integer[], nullable
  - `isExcluded` boolean

## Response `200`

OK

---

[API](https://skmtc.dev/immy/apis/immy-bot-api-2.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api-2/revisions/75b50268fa51?raw)
