Updated on 2023-12-25 GMT+08:00

Querying the Number of EIPs

Function

This API is used to query the number of EIPs.

URI

GET /v2/{project_id}/elasticips

Table 1 Path parameter

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

elasticip_size

Integer

Number of EIPs

Example Request

None

Example Response

Status code: 200

Normal

{
  "elasticip_size" : 11
}

Status Code

See Status Codes.

Error Code

See Error Codes.