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

Unique ID of the IDC

Required string length: 1 - 50
name
string
required

Name of the elastic IP

Maximum length: 255
product
string
required

product name of merch table

Required string length: 1 - 1048576

Response

successful

id
string<uuid>
required