---
title: "Negating"
slug: "negating"
abstract: "How to negate factors in a query."
---
# Negating

In addition to [operators](https://doc.sitecore.com/ch/en/developers/cloud-dev/operators.html "Operators"), you can negate factors by preceding them with **!**.

For example, if we want to negate the **FinalLifeCycleStatusToAsset** condition, we use **!** and parentheses:

```http
GET http://<hostname>/api/entities/query?query=Definition.Name=='M.Asset' AND !(Parent('FinalLifeCycleStatusToAsset').id == 542)

```