Skip to main content
POST
/
v1
/
{tenantUUID}
/
asn
/
validate
/
{asn}
Validate subnets for ASN
curl --request POST \
  --url https://apigw.ipxo.com/billing/v1/{tenantUUID}/asn/validate/{asn} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subnets": [
    "string"
  ]
}
'
{
  "asn": 0,
  "valid": true,
  "as_name": "string",
  "uce3": true,
  "ofac": true,
  "spamhaus": true,
  "country": "string",
  "status": "string",
  "subnets": [
    {
      "subnet": "string",
      "already_added": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenantUUID
string
required

UUID

Pattern: ^[a-zA-Z0-9]{8}\-[a-zA-Z0-9]{4}\-[a-zA-Z0-9]{4}\-[a-zA-Z0-9]{4}\-[a-zA-Z0-9]{12}$
asn
object
required

ASN

Body

application/json
subnets
string[]
required

Response

Subnet validation results

asn
integer
valid
boolean
as_name
string
uce3
boolean
ofac
boolean
spamhaus
boolean
country
string
status
string
subnets
object[]