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!
Arguments
| Name | Description |
|---|---|
input - DeletePathSensorInput!
|
Identifies the PathSensor to delete. |
Example
Query
mutation deletePathSensor($input: DeletePathSensorInput!) {
deletePathSensor(input: $input)
}
Variables
{"input": DeletePathSensorInput}
Response
{"data": {"deletePathSensor": false}}