phpipam.addresses.upsert
Create a new IP address or update an existing one in phpIPAM by providing the IP and subnet ID, with optional fields like hostname, MAC, and notes.
Instructions
Create or update an IP address. Requires PHPIPAM_WRITE_ENABLED=true
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IP address | |
| mac | No | MAC address | |
| note | No | Notes | |
| owner | No | Owner | |
| hostname | No | Hostname | |
| subnetId | Yes | Subnet ID | |
| description | No | Description |