Articles in this section

How to add/delete bulk IPs from SolusVM 2?

Applicable to:

  • SolusVM 2

Question

How to add/delete bulk IPs from SolusVM 2?

Answer

A feature request to support bulk IP allocation through the SolusVM 2 panel has been submitted and is tracked under SVM2-6173 for consideration in a future release.

In the meantime, SolusVM 2 supports adding multiple additional IP addresses to a virtual server in a single API request through the following endpoint:

POST /api/v1/servers/{id}/ips

For example, the following request body allocates 10 additional IPv4 addresses:

{
  "count": 10,
  "type": "IPv4"
}

Note: The {id} placeholder represents the virtual server’s ID, and the count parameter specifies the number of additional addresses to allocate.

Bulk allocation supports specifying the number of addresses rather than a list of specific IPs. The ip parameter, used to select a specific address, cannot be combined with a count greater than 1.

Further details are available in the SolusVM 2 API documentation.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.