# API: Assign IP
# ipamAssignIP
Assign IP to account
# Required parameters
| Parameter | Description |
|---|---|
account_id | Account ID |
# Optional parameters
| Parameter | Description |
|---|---|
ip_id | Single IP to assign |
ip | IP required if Ip Id does not set |
subnet_id | Entire subnet to assign or where the IP is located |
reason | Reason assigned IP |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=ipamAssignIP&account_id=ACCOUNT_ID
# PHP Samples
# PHP Samples: Assign IP by ID
# PHP Samples: Assign IP by address
# PHP Samples: Assign all IPs from list
# Response
null