---
title: deletePathSensor mutation | Wartiva GraphQL API
description: Soft-deletes a user-defined PathSensor (marks it as deleted and disables it). Default sensors cannot be deleted.
url: https://wartiva.com/api-docs/mutations/delete-path-sensor.html
updated: 2026-10-07
---

Organizations and users · GraphQL mutation

# `deletePathSensor` mutation

Soft-deletes a user-defined PathSensor (marks it as deleted and disables it). Default sensors cannot be deleted. Caller must be an organization admin of the sensor's org.

## Response

Returns a [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html)

## Arguments

| Name | Description |
|---|---|
| `input` - [`DeletePathSensorInput!`](https://wartiva.com/api-docs/types/delete-path-sensor-input.html) | Identifies the PathSensor to delete. |

## Example

### Query

```graphql
mutation deletePathSensor($input: DeletePathSensorInput!) {
  deletePathSensor(input: $input)
}

```

### Variables

```json
{"input": DeletePathSensorInput}

```

### Response

```json
{"data": {"deletePathSensor": false}}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
