<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>APIs on N7 Docs</title><link>https://docs.n7.io/delivery/security/apis/</link><description>Recent content in APIs on N7 Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.n7.io/delivery/security/apis/index.xml" rel="self" type="application/rss+xml"/><item><title>Security-Enabled Domains API</title><link>https://docs.n7.io/delivery/security/apis/security-enabled-domains/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.n7.io/delivery/security/apis/security-enabled-domains/</guid><description>&lt;p&gt;The Security-Enabled Domains API returns all domains within an account that have security (WAF) features enabled.&lt;/p&gt;
&lt;p&gt;It is typically used as a discovery step before working with per-domain security APIs, such as the &lt;a href="https://docs.n7.io/delivery/security/target-groups/" &gt;Target Groups API&lt;/a&gt;
. Since target group operations are scoped to a single domain, you can use this endpoint to first list every security-enabled domain in your account and then iterate over the results.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="prerequisite"&gt;Prerequisite&lt;a class="heading-anchor" href="#prerequisite" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;You must have at least one domain configured on Nitrogen with security (WAF) enabled.&lt;/li&gt;
&lt;li&gt;You must have a service account configured with at least &lt;strong&gt;Viewer&lt;/strong&gt; access to the account. If not, you can refer &lt;a href="https://docs.n7.io/account/users/create-api-keys/" &gt;this article&lt;/a&gt;
 for the same.&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id="endpoint"&gt;Endpoint&lt;a class="heading-anchor" href="#endpoint" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="list-security-enabled-domains"&gt;List Security-Enabled Domains&lt;a class="heading-anchor" href="#list-security-enabled-domains" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Retrieve a list of all domains in an account that have security (WAF) features enabled.&lt;/p&gt;</description></item><item><title>Dynamic IP blacklist/whitelist management</title><link>https://docs.n7.io/delivery/security/apis/target-groups/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.n7.io/delivery/security/apis/target-groups/</guid><description>&lt;p&gt;Nitrogen Target Groups are a subset of &lt;strong&gt;Condition Groups&lt;/strong&gt; used for whitelisting and blacklisting IP addresses. They can be added to &lt;strong&gt;Content Blocks&lt;/strong&gt; to control traffic behavior.&lt;/p&gt;
&lt;p&gt;The Target Groups API allows you to list target groups, retrieve specific target group details, and dynamically add or remove target IP addresses (both IPv4 and IPv6) and CIDR prefixes.&lt;/p&gt;
&lt;p&gt;Unlike standard configuration changes that require manual deployment, updates to target groups are &lt;strong&gt;automatically and immediately deployed&lt;/strong&gt; to the edge.&lt;/p&gt;</description></item></channel></rss>