Update |
---|
URL | /api/v1/api.php?target=ipam&action=update&type=IP&ipid=13420&rir=RIPE |
Description | Updates detail data about an IP block. |
Returns | Examples: SUCCESSFUL | {"success":1,"message":"Update Successful."} | ERROR | {'success':0, 'message':'error message'} |
|
Required Parameters | Name | Type | Example | Description |
---|
id | int | 125 | ID of the IP block |
|
Optional Parameters | Name | Type | Example | Description |
---|
allowSubAssignments | BOOL | true | Does the block allow sub-assignments? If the block is assigned and allowSubAssignments is "true", children split from this block will be able to be assigned to different resources. Acceptable values: "true" or "false" | asn | INTEGER | 1000 | ASN for the block | code | STRING | | Arbitrary user-defined block code | lirId | INTEGER | | The numeric ID of an LIR resource the block should be linked to | notes | STRING | Words | Misc. Notes | region | STRING | Chicago, IL | The region this IP block is assigned to. | rir | STRING | ARIN | The RIR | vlan | NUMERIC | 50000 | |
|