phpipam.sections.ensure
Ensure a network section exists in phpIPAM, creating it if missing. Handles verification and creation with optional description and parent section.
Instructions
Ensure a section exists (create if missing). Requires PHPIPAM_WRITE_ENABLED=true and PHPIPAM_ALLOW_SECTION_CREATE=true
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Section name | |
| description | No | Section description | |
| masterSection | No | Parent section ID |