post
/public_api/v1/assets/get_external_ip_address_range/
Required license: **Cortex Xpanse Expander**
Get external IP address range details according to the range IDs.
CURL
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" -H "authorization: {{api_key}}" -H "x-xdr-auth-id: {{api_key_id}}" \
"https://api-}/public_api/v1/assets/get_external_ip_address_range/" \
-d '{
"request_data" : {
"range_id_list" : [ "range_id_list", "range_id_list", "range_id_list", "range_id_list", "range_id_list" ]
}
}'
Request headers
authorization
required
String
api-key
Example:
{{api_key}}
x-xdr-auth-id
required
String
api-key-id
Example:
{{api_key_id}}
Request
Body
required
request_data
required
Object
A dictionary containing the API request fields.
range_id_list
optional
Array
of strings
A string representing the range ID for which you want to get the details.
Responses
OK
Body
reply
optional
Object
details
optional
Array
of objects
range_id
required
String
first_ip
optional
String
last_ip
optional
String
ips_count
optional
Integer
active_responsive_ips_count
optional
Integer
date_added
optional
Integer
organization_handles
optional
Array
of strings
details
optional
Object
networkRecords
optional
Array
of objects
firstIp
optional
String
firstIpv6
optional
String
handle
required
String
lastChanged
optional
Integer
lastIp
optional
String
lastIpv6
optional
String
name
required
String
organizationRecords
optional
Array
of objects
address
required
String
dateAdded
optional
Integer
email
required
String
firstRegistered
optional
Integer
formattedName
required
String
handle
required
String
kind
required
String
lastChanged
optional
Integer
org
required
String
phone
required
String
remarks
required
String
roles
optional
Array
of strings
remarks
optional
String
whoIsServer
required
String
explainers
optional
Array
of strings
ipaddress_version
optional
Integer
tags
optional
Array
of strings
first_ipv6
optional
String
last_ipv6
optional
String
annotation
optional
String
has_bu_overrides
required
Boolean
Bad Request. Got an invalid JSON.
Body
reply
required
Object
The query results upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.
Unauthorized access. An issue occurred during authentication. This can indicate an incorrect key, id, or other invalid authentication parameters.
Body
reply
required
Object
The query results upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.
Unauthorized access. User does not have the required license type to run this API.
Body
reply
required
Object
The query results upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.
Forbidden access. The provided API Key does not have the required RBAC permissions to run this API.
Body
reply
required
Object
The query results upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.
Unprocessable Entity
Body
code
optional
Integer
Error code
status
optional
String
Error name
message
optional
String
Error message
errors
optional
Object
Errors
Internal server error. A unified status for API communication type errors.
Body
reply
required
Object
The query results upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.