POST

Provision Port for Foreman

/api/v2/port/provision

Configure a switch port for Foreman bare metal provisioning. This looks up the server in NetBox, traces the cable to find the connected switch port, saves the current configuration, and sets the port to access mode with the Foreman VLAN.

Request Body

Server device label from NetBox
VLAN ID (uses default from config if not specified)
Custom port description
WHMCS service ID for tracking
User/system making the request

Examples

{
  "device_label": "server-001"
}

Response

Click "Send Request" to see the response