Organization API: Customer Portal: Ips
The 13 Organization API operations for ips.
Part of Customer Portal.
GET /api/v1/orgs/{org_slug}/portal/ips
| Name |
In |
Type |
Required |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/portal/ips/attach-targets
| Name |
In |
Type |
Required |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/portal/ips/order
Order a floating IP / subnet via the org storefront path.
Reserves inventory in the same transaction as the invoice. Replays of the
same idempotency_key return the original invoice instead of a second order.
| Name |
In |
Type |
Required |
org_slug |
path |
string |
yes |
application/json (required)
| Field |
Type |
Required |
Description |
org_product_id |
integer |
yes |
|
org_pricing_id |
integer |
yes |
|
pool_id |
integer |
yes |
|
prefix_len |
integer |
no |
|
version |
string |
no |
|
hostname |
string or null |
no |
|
idempotency_key |
string |
yes |
Client-generated key so double-submit / multi-tab retries replay the same order |
attach_to_org_service_id |
integer or null |
no |
One of your Minecraft servers (org service id). The address is attached to it as soon as it is provisioned; single IPv4 only. |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/portal/ips/orders
Open IP order intents, so unpaid or in-flight orders resume after login or in a new tab.
| Name |
In |
Type |
Required |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/portal/ips/orders/{idempotency_key}
| Name |
In |
Type |
Required |
idempotency_key |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/portal/ips/orders/{idempotency_key}/cancel
| Name |
In |
Type |
Required |
idempotency_key |
path |
string |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/portal/ips/pools
| Name |
In |
Type |
Required |
Description |
org_slug |
path |
string |
yes |
|
version |
query |
string |
no |
Default: ipv4. |
prefix_len |
query |
integer or null |
no |
|
region |
query |
string or null |
no |
|
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/portal/ips/{service_id}
| Name |
In |
Type |
Required |
service_id |
path |
integer |
yes |
org_slug |
path |
string |
yes |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/portal/ips/{service_id}/attach
| Name |
In |
Type |
Required |
service_id |
path |
integer |
yes |
org_slug |
path |
string |
yes |
application/json (required)
| Field |
Type |
Required |
Description |
target_type |
string |
yes |
vps | container |
target_service_id |
integer |
yes |
Platform service id of the compute target |
host_address |
string or null |
no |
Host IP within a rented subnet; omit to attach first free host |
host_inventory_id |
integer or null |
no |
Alternative to host_address: inventory id of the host row |
is_primary |
boolean or null |
no |
For VPS multi-IP: set as primary (ipconfig0). Default: primary if none yet. |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
POST /api/v1/orgs/{org_slug}/portal/ips/{service_id}/detach
| Name |
In |
Type |
Required |
service_id |
path |
integer |
yes |
org_slug |
path |
string |
yes |
application/json
| Field |
Type |
Required |
host_address |
string or null |
no |
host_inventory_id |
integer or null |
no |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/portal/ips/{service_id}/hosts
| Name |
In |
Type |
Required |
Description |
service_id |
path |
integer |
yes |
|
org_slug |
path |
string |
yes |
|
include_reserved |
query |
boolean |
no |
Default: True. |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
GET /api/v1/orgs/{org_slug}/portal/ips/{service_id}/ptr
| Name |
In |
Type |
Required |
service_id |
path |
integer |
yes |
org_slug |
path |
string |
yes |
host_address |
query |
string or null |
no |
host_inventory_id |
query |
integer or null |
no |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |
PATCH /api/v1/orgs/{org_slug}/portal/ips/{service_id}/ptr
| Name |
In |
Type |
Required |
service_id |
path |
integer |
yes |
org_slug |
path |
string |
yes |
application/json (required)
| Field |
Type |
Required |
hostname |
string |
yes |
host_address |
string or null |
no |
host_inventory_id |
integer or null |
no |
| Status |
Meaning |
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |