Skip to main content
POST
/
v1
/
elastic-ips
Allocate elastic IP for organization
curl --request POST \
  --url https://console.gmicloud.ai/api/v1/elastic-ips \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "count": 1,
  "idc": "<string>",
  "name": "<string>",
  "product": "<string>"
}
'
[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
count
integer
default:1
required
Required range: x >= 1
idc
string
required
Maximum string length: 50
name
string
required

Name of the elastic IP

Maximum string length: 255
product
string
required
Maximum string length: 256

Response

successful

id
string<uuid>
required