cURL
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>" } '
200
Example
[ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
x >= 1
50
^[a-zA-Z0-9._-]+$
Name of the elastic IP
255
^([A-Za-z0-9][A-Za-z0-9_\-. ]*)?[A-Za-z0-9]$
256
successful