Get IP restrictions
  • 14 Feb 2021
  • 1 Minute To Read
  • Contributors
  • Print
  • Share
  • Dark
    Light

Get IP restrictions

  • Print
  • Share
  • Dark
    Light

GET/teams /get-ip-address-restriction

Get IP address restriction(s)


Header

Parameter Type Description
api_token string REST API key you can get it from Settings > Advanced > API tokens

Sample Response

{ 
  "ip_address_restriction": [ 
    { 
      "name": "My IP", 
      "ip_address": "157.46.113.44", 
      "consider_for_restriction": true, 
      "allow_or_block_ip_address": "Allow" 
    } 
  ], 
  "user_ip_address": "157.46.113.44", 
  "extension_data": null, 
  "context": null, 
  "success": true, 
  "errors": [], 
  "warnings": [], 
  "information": [] 
} 

Response Data

Parameter Type Description
name string Name of the IP Restriction
ip_address string IP Address range
consider_for_restriction boolean Status of the IP Restriction (True or False)
allow_or_block_ip_address string Allow or Block
Was This Article Helpful?