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

# Set Assignees

This action enables adding and removing assignees for associated devices, alerts, or vulnerabilities based on the selected `Target Type`.
You must select at least one of the following actions: `add usernames`, `remove usernames`, `add group names`, `remove group names`.

<Note>
  External Documentation

  To learn more, visit the [Claroty xDome documentation](https://demo.dashboard.medigate.io/help-center/api-documentation#tag/User-Actions/operation/set_assignees_api_v1_user_actions_assignees_set_post).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter             | Description                                                                                                                                                                                                                                                   |
  | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Alert IDs             | Array of alert IDs.                                                                                                                                                                                                                                           |
  | Filter By Field       | Name of field to filter. <br /><br />**Important!**<br /><br />For vulnerabilities filter, select one of the following:<br />\* `id`<br />\* `name`<br /><br />For devices filter, select one of the following: <br />\* `asset_id`<br />\* `device_category` |
  | Group Names To Add    | Group names to add.                                                                                                                                                                                                                                           |
  | Group Names To Remove | Group names to remove.                                                                                                                                                                                                                                        |
  | Target Type           | The type of the target object.                                                                                                                                                                                                                                |
  | Usernames To Add      | Assignees to add.                                                                                                                                                                                                                                             |
  | Usernames To Remove   | Assignees to remove.                                                                                                                                                                                                                                          |
  | Value                 | Field's value for filtering. It can be either a single value or multiple values separated by commas.                                                                                                                                                          |
</div>

## Example Output

```json theme={"dark"}
{
	"modified": 541
}
```

## Workflow Library Example

[Set Assignees with Claroty Xdome and Send Results Via Email](https://library.blinkops.com/workflows/set-assignees-with-claroty-xdome-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/set-assignees-with-claroty-xdome-and-send-results-via-email/canvas" />
</div>
