# Setting IP ranges for IP authentication (via Managment API)

**URL:** <https://community.auth0.com/t/setting-ip-ranges-for-ip-authentication-via-managment-api/9323>\
**Category:** Get Help\
**Tags:** ip, authentication, management-api, silent-authenticatio\
**Created:** [January 29, 2018, 8:31pm UTC](https://community.auth0.com/t/setting-ip-ranges-for-ip-authentication-via-managment-api/9323 "2018-01-29T20:31:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertbcurtis](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@robertbcurtis](https://community.auth0.com/u/robertbcurtis)\
**Post date:** [January 29, 2018, 8:31pm UTC](https://community.auth0.com/t/setting-ip-ranges-for-ip-authentication-via-managment-api/9323/1 "2018-01-29T20:31:18Z")

</div>

Hi,

Is it possible to set the allowed IP ranges for an IP Authentication connection, via the management API?

Thanks  
Rob

---

<div class="post-metadata">

**Author:** ![lobo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lobo/32/1216_2.png) [@lobo](https://community.auth0.com/u/lobo)\
**Post date:** [January 31, 2018, 12:25am UTC](https://community.auth0.com/t/setting-ip-ranges-for-ip-authentication-via-managment-api/9323/2 "2018-01-31T00:25:30Z")

</div>

Hi @robertbcurtis

Have you tried going to `Connections` \> `Enterprise` \> `IP Address Authentication` \> `Settings` \> `IP range`.

Not sure that’s exactly what you’ve asked but it’s the closest we offer given the description you’ve given.

Let me know how that goes, please.

---

<div class="post-metadata">

**Author:** ![robertbcurtis](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@robertbcurtis](https://community.auth0.com/u/robertbcurtis)\
**Post date:** [January 31, 2018, 6:15pm UTC](https://community.auth0.com/t/setting-ip-ranges-for-ip-authentication-via-managment-api/9323/3 "2018-01-31T18:15:00Z")

</div>

Hi @lobo,  
I’m looking at doing this via the api (the management API) as it’s something we’d need to update fairly frequently and it shouldn’t require human intervention.

Thanks  
Rob

---

<div class="post-metadata">

**Author:** ![lobo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lobo/32/1216_2.png) [@lobo](https://community.auth0.com/u/lobo)\
**Post date:** [January 31, 2018, 6:22pm UTC](https://community.auth0.com/t/setting-ip-ranges-for-ip-authentication-via-managment-api/9323/4 "2018-01-31T18:22:51Z")

</div>

Hi @robertbcurtis , thanks for the details.  
It cannot be used in production yet, it’s on BETA. Might release it before mid2018, but still not a defined ETA. Only accounts marked as `development` can use it.

---

<div class="post-metadata">

**Author:** ![jamesmehorter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jamesmehorter/32/8124_2.png) [@jamesmehorter](https://community.auth0.com/u/jamesmehorter)\
**Post date:** [July 23, 2018, 6:47pm UTC](https://community.auth0.com/t/setting-ip-ranges-for-ip-authentication-via-managment-api/9323/5 "2018-07-23T18:47:02Z")

</div>

This seems to be possible now. I was able to add an IP connection on a ‘production’ tenant using the below test in Postman.

 ![14-PM](https://global.discourse-cdn.com/auth0/original/2X/b/b7a4f8781b3dea2779393809cae2683201646b15.jpg)

Which created:

 ![14%20PM](https://global.discourse-cdn.com/auth0/original/2X/b/b813884697d16dda49a5472e5c809a994c9668b8.png)

I also found that the only way the IP authentication actually works is if you only store the CIDR range format of the IP, i.e. “1.2.3.4/32”.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![jerdog](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerdog/32/11231_2.png) [@jerdog](https://community.auth0.com/u/jerdog)\
**Post date:** [December 14, 2018, 6:02pm UTC](https://community.auth0.com/t/setting-ip-ranges-for-ip-authentication-via-managment-api/9323/6 "2018-12-14T18:02:28Z")

</div>


