validateIp

This query allows to validate the IP.

General Pattern

query{
  validateIp(ip:String! organizationID:UUID!){
    field_1
    ...
  }
}

Sample query

query{
  validateIp(ip:"140.213.56.156" organizationID:"a1dc174d-abf4-47d3-be3c-9281c6eba456"){
    ipScreeningId
    Success
  }
}

Sample response

{
  "data": {
    "validateIp": {
      "ipScreeningId": "846e694c-84cf-4579-9a05-ea54bd5f781a",
      "Success": false
    }
  }
}

Arguments

NameTypeDescriptionRequired
ipStringThe IP address.Yes
organizationIdUUID1The organization ID.Yes

Fields

NameTypeDescription
ValidateIPResponseObjectContains all information from ValidateIPResponse

Example

Validate the IP using IP address and organization ID: