Add Parent Block with Properties - BlueCat Address Manager - 9.0.0

Address Manager API Guide

Locale
English (United States)
Product name
BlueCat Address Manager
Version
9.0.0

Creates an IPv4 or IPv6 block with a name from a list of IPv4 or IPv6 blocks or networks. All blocks and networks must have the same parent but it does not need to be contiguous.

Output / Response

Returns the object ID for the new IPv4 or IPv6 parent block.

API call:

long addParentBlockWithProperties ( long[] blockOrNetworkIDs, String properties )
Parameter Description
blockOrNetworkIDs An array containing the object IDs of IPv4 or IPv6 blocks or networks.
Note: If you are invoking this API using a RESTful implementation, this parameter must be passed in the body.
properties A string containing the following option:
  • name-the name of the new IPv4 or IPv6 block to be created.

REST example

POST http://<bam_ip>/Services/REST/v1/addParentBlockWithProperties?properties=name=Example
Authorization: <bam_auth_token>
Content-Type: application/json

["100915","100916"]