Skip to main content
POST
/
{tenantUUID}
/
prefixes
/
metadata
/
array
Add metadata array elements to existing prefix holders metadata
curl --request POST \
  --url https://apigw.ipxo.com/nethub-data/{tenantUUID}/prefixes/metadata/array \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "notation": "string",
    "items": [
      {
        "pathToArray": "string",
        "elements": [
          {}
        ],
        "position": 0
      }
    ]
  }
]
'
[
  {
    "notation": "string",
    "ipNet": {
      "ip": "string",
      "mask": "string"
    },
    "maskSize": 0,
    "type": 0,
    "holderMetadata": {
      "key1": "value1",
      "keyN": "valueN"
    }
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

tenantUUID
string
required

Tenant UUID

Body

application/json

Request payload for adding elements to metadata arrays.

notation
string

The notation identifier for the metadata array.

items
object[]

Response

Successful addition of metadata array elements.

notation
string
ipNet
object
maskSize
integer
type
enum<integer>

0 - IPv4, 1 - IPv6

Available options:
0,
1
holderMetadata
object
Example:
{ "key1": "value1", "keyN": "valueN" }