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

Update IP restrictions

  • Print
  • Share
  • Dark
    Light

PUT/teams/manage-ip-address

Manage IP Address Restriction(s)


Header

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

While updating an IP restriction, make sure you copy the existing IP restriction (use Get IP restrictions API), modify that, and then update.
If you do this directly the existing IP restriction will be overwritten.

Body Parameters

All Parameters are mandatory

name string Name of the IP Restriction
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

Sample Request

{ 
  "ip_address_restriction": [ 
    { 
      "name": "My IP", 
      "ip_address": "0.0.0.0”, 
      "consider_for_restriction": true, 
      "allow_or_block_ip_address": "Allow" 
    } 
  ] 
}

Response

Status

200 OK

Was This Article Helpful?