GET /trial-exclusions/ip-addresses/{ipAddress}

Purpose

Get an ip address from the the black list resource by ip address

Request

Resource URL

GET /trial-exclusions/ip-addresses/{ipAddress}

For security reasons requests must be made over HTTPS.

Request Headers

Header

Value

Content-Type

application/json

X-Api-Key

<API key value>

Request Body

Not supported.

Response

Response Body

A JSON representation of the user’s resource example of which is as below:

{
 “ipAddress”: “10.10.10.1”
}

HTTP Status Codes

Http Status

Description

200 OK

The ip address exists in the blacklists

400 Bad Request

The request was invalid. You may refer to response for details around why the request was invalid.

403 Forbidden

The x-api-key provided is invalid. Whenever the user provides an x-api-key, validation against an api key whitelist is performed. If the x-api-key provided is not in the whitelist, this error is returned.

404 Not Found

The ip address does not exist in the blacklist