phpipam.addresses.allocate
Allocate the first available IP address in a subnet. Provide subnet ID and optional hostname, MAC, owner, or notes to assign the next free address.
Instructions
Allocate the first available IP address in a subnet. Requires PHPIPAM_WRITE_ENABLED=true
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | No | MAC address | |
| note | No | Additional notes | |
| owner | No | Owner/responsible person | |
| hostname | No | Hostname for the address | |
| subnetId | Yes | Subnet ID to allocate from | |
| description | No | Description |