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
Name | Type | Description | Required |
---|---|---|---|
ip | String | The IP address. | Yes |
organizationId | UUID1 | The organization ID. | Yes |
Fields
Name | Type | Description |
---|---|---|
ValidateIPResponse | Object | Contains all information from ValidateIPResponse |
Example
Validate the IP using IP address and organization ID: