> Source: [sk147873](https://support.checkpoint.com/results/sk/sk147873)

# sk147873 - Create and Manage Exclusions using the CloudGuard Dome9 REST API

| Property | Value |
|----------|-------|
| Solution ID | sk147873 |
| Date Created | 2019-02-25 |
| Last Modified | 2021-06-08 |
| Technical Level | General |
| Products | Cloud Firewall |
| Versions | R82.10, R81.20, R82 |

## Solution

This article illustrates how to use the [Exclusion](https://api-v2-docs.dome9.com/#Dome9-API-Exclusion) resource in the Dome9 REST API to create and manage exclusions.

Exclusions hide assessment findings, both from being displayed in the Dome9 console UI (in the Finding Alerts page), and from being returned using the [Finding](https://api-v2-docs.dome9.com/#Dome9-API-Finding) resource in the Dome9 API.

You can exclude a specific finding (combination of ruleset, account, and rule), or a set of findings (a specific rule on all accounts, or entities).

Pre-requisites
--------------

Create a new exclusion
----------------------

First, use the [Finding POST](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk147837) method to retrieve a list of findings for the account.

```
 
```

This returns the first page of a list of all findings.

Next, use the Exclusion POST method to exclude a specific finding, for a specific account and instance.

Finally, use the GET method again to retrieve the list of findings, to verify the new finding is not included in the returned list.

### Request

POST <https://api.dome9.com/v2/Exclusion>

    {
      "ruleLogicHash": "string",
      "logic": "string",
      "bundleId": 0,
      "cloudAccountId": "00000000-0000-0000-0000-000000000000",
      "cloudAccountType": "Aws",
      "comment": "string"
    }

### Response

Finding before exclusion
------------------------

Finding after exclusion
-----------------------

See also
--------

[Finding (API)](https://api-v2-docs.dome9.com/#Dome9-API-Finding)

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
