Updated on 2024-05-22 GMT+08:00

Deleting an Elastic Resource Pool

Function

This API is used to delete an elastic resource pool.

URI

  • URI format

    DELETE /v3/{project_id}/elastic-resource-pools/{elastic_resource_pool_name}

  • Parameter description
    Table 1 URI parameters

    Parameter

    Mandatory

    Type

    Description

    elastic_resource_pool_name

    Yes

    String

    Elastic resource pool name.

    project_id

    Yes

    String

    Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

Request

None

Response

Table 2 Response parameters

Parameter

Mandatory

Type

Description

is_success

No

Boolean

Whether the request is successfully executed. Value true indicates that the request is successfully executed.

message

No

String

System prompt. If execution succeeds, the message may be left blank.

Example Request

None

Example Response

{
  "is_success" : true,
  "message" : ""
}

Status Codes

Status Code

Description

200

OK

Error Codes

If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.