Skip to content

updateIpWhitelist

Update the IP allowlist for the given organization.

Arguments

Argument Type Description
whitelistMode (required) WhitelistModeEnum! The mode of the IP allowlist.
ipCidrs (required) [String!]! The list of IP addresses in the allowlist.

Returns

Boolean!

Sample

mutation UpdateIpWhitelist($whitelistMode: WhitelistModeEnum!, $ipCidrs: [String!]!) {
  updateIpWhitelist(
    whitelistMode: $whitelistMode
    ipCidrs: $ipCidrs
  )
}
{
  "whitelistMode": "ALL_USERS",
  "ipCidrs": [
    "example-string"
  ]
}
{
  "data": {
    "updateIpWhitelist": true
  }
}