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}/publicip/instances

Table 1 Path parameter

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

Request Parameters

None

Response Parameters

None

Example Request

None

Example Response

Status code: 200

Normal response to GET and PUT operations

{
  "instance_num" : 3
}

Status Code

See Status Codes.

Error Code

See Error Codes.