---
updatedAt: 2026-08-31T22:05:50.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/platform-api/llms.txt
---

# Jamf Protect - Mutations

Create, update, and delete data in Jamf Protect.

Mutations create, update, or delete data in Jamf Protect.

*12 mutations available. Return and argument types link to the [Types](https://developer.jamf.com/platform-api/reference/jamf-protect-types) reference.*

<Callout icon="📘" theme="info">
  ### **Type notation:** `[X]` is a list of `X`; `!` means non-null (required). For example, `[Alert!]!` is a required list of non-null `Alert` objects.
</Callout>

### createPreventList

Create a new Custom Prevent List

```graphql
createPreventList(input: PreventListInput!): PreventList
```

| Argument | Type                                                                                                         | Description                                                                                |
| -------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `input`  | [`PreventListInput!`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#preventlistinput) | Input object holding the query criteria (filters, paging, sorting) or the values to write. |

**Returns:** [`PreventList`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#preventlist)

### createUnifiedLoggingFilter

Create a new Unified Logging filter

```graphql
createUnifiedLoggingFilter(input: UnifiedLoggingFilterInput!): UnifiedLoggingFilter
```

| Argument | Type                                                                                                                           | Description                                                                                |
| -------- | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `input`  | [`UnifiedLoggingFilterInput!`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#unifiedloggingfilterinput) | Input object holding the query criteria (filters, paging, sorting) or the values to write. |

**Returns:** [`UnifiedLoggingFilter`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#unifiedloggingfilter)

### deleteComputer

Delete the record of a specific Computer, and associated Alerts

```graphql
deleteComputer(uuid: ID!): Computer
```

| Argument | Type  | Description                                           |
| -------- | ----- | ----------------------------------------------------- |
| `uuid`   | `ID!` | The unique identifier (UUID) of the record to act on. |

**Returns:** [`Computer`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#computer)

### deletePreventList

Delete a specific Custom prevent List

```graphql
deletePreventList(id: ID!): PreventList
```

| Argument | Type  | Description                                    |
| -------- | ----- | ---------------------------------------------- |
| `id`     | `ID!` | The unique identifier of the record to act on. |

**Returns:** [`PreventList`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#preventlist)

### deleteUnifiedLoggingFilter

Delete a specific Unified Logging filter

```graphql
deleteUnifiedLoggingFilter(uuid: ID!): UnifiedLoggingFilter
```

| Argument | Type  | Description                                           |
| -------- | ----- | ----------------------------------------------------- |
| `uuid`   | `ID!` | The unique identifier (UUID) of the record to act on. |

**Returns:** [`UnifiedLoggingFilter`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#unifiedloggingfilter)

### deleteUser

Delete a specific User

```graphql
deleteUser(id: ID!): User
```

| Argument | Type  | Description                                    |
| -------- | ----- | ---------------------------------------------- |
| `id`     | `ID!` | The unique identifier of the record to act on. |

**Returns:** [`User`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#user)

### setComputerPlan

Assign a Plan a specific Computer, to be applied at the next agent check-in

```graphql
setComputerPlan(input: ComputerPlan!, uuid: ID!): Computer
```

| Argument | Type                                                                                                 | Description                                                                                |
| -------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| `input`  | [`ComputerPlan!`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#computerplan) | Input object holding the query criteria (filters, paging, sorting) or the values to write. |
| `uuid`   | `ID!`                                                                                                | The unique identifier (UUID) of the record to act on.                                      |

**Returns:** [`Computer`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#computer)

### updateAlerts

Update the alert status for a list of alerts

```graphql
updateAlerts(input: AlertUpdateInput!): AlertConnection
```

| Argument | Type                                                                                                         | Description                                                                                |
| -------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `input`  | [`AlertUpdateInput!`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#alertupdateinput) | Input object holding the query criteria (filters, paging, sorting) or the values to write. |

**Returns:** [`AlertConnection`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#alertconnection)

### updateAnalyticSet

Update Analytic Sets and all associated plans

```graphql
updateAnalyticSet(uuid: ID!, input: AnalyticSetInput!): AnalyticSet
```

| Argument | Type                                                                                                         | Description                                                                                |
| -------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `uuid`   | `ID!`                                                                                                        | The unique identifier (UUID) of the record to act on.                                      |
| `input`  | [`AnalyticSetInput!`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#analyticsetinput) | Input object holding the query criteria (filters, paging, sorting) or the values to write. |

**Returns:** [`AnalyticSet`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#analyticset)

### updateComputer

Allow updating of certain computer fields - labels and tags

```graphql
updateComputer(input: ComputerEditableInput!, uuid: ID!): Computer
```

| Argument | Type                                                                                                                   | Description                                                                                |
| -------- | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| `input`  | [`ComputerEditableInput!`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#computereditableinput) | Input object holding the query criteria (filters, paging, sorting) or the values to write. |
| `uuid`   | `ID!`                                                                                                                  | The unique identifier (UUID) of the record to act on.                                      |

**Returns:** [`Computer`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#computer)

### updatePreventList

Update an existing Custom Prevent List

```graphql
updatePreventList(input: PreventListInput!, id: ID!): PreventList
```

| Argument | Type                                                                                                         | Description                                                                                |
| -------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `input`  | [`PreventListInput!`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#preventlistinput) | Input object holding the query criteria (filters, paging, sorting) or the values to write. |
| `id`     | `ID!`                                                                                                        | The unique identifier of the record to act on.                                             |

**Returns:** [`PreventList`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#preventlist)

### updateUnifiedLoggingFilter

Update an existing Unified Log filter

```graphql
updateUnifiedLoggingFilter(uuid: ID!, input: UnifiedLoggingFilterInput!): UnifiedLoggingFilter
```

| Argument | Type                                                                                                                           | Description                                                                                |
| -------- | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `uuid`   | `ID!`                                                                                                                          | The unique identifier (UUID) of the record to act on.                                      |
| `input`  | [`UnifiedLoggingFilterInput!`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#unifiedloggingfilterinput) | Input object holding the query criteria (filters, paging, sorting) or the values to write. |

**Returns:** [`UnifiedLoggingFilter`](https://developer.jamf.com/platform-api/reference/jamf-protect-types#unifiedloggingfilter)

<br />

***

**Jamf Protect API:** [Overview](https://developer.jamf.com/platform-api/reference/jamf-protect) · [Queries](https://developer.jamf.com/platform-api/reference/jamf-protect-queries) · [Mutations](https://developer.jamf.com/platform-api/reference/jamf-protect-mutations) · [Types](https://developer.jamf.com/platform-api/reference/jamf-protect-types) · [Example Calls](https://developer.jamf.com/platform-api/reference/jamf-protect-example-calls)