Updated on 2026-01-05 GMT+08:00

Disabling a Warm Pool

Function

This API is used to disable the warm pool of an AS group.

Constraints

This API is only available in the AP-Jakarta and LA-Sao Paulo1 regions.

Authorization

Each account has all of the permissions required to call all APIs, but IAM users must have the required permissions specifically assigned.

URI

DELETE /autoscaling-api/{project_id}/scaling-groups/{scaling_group_id}/warm-pool

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

scaling_group_id

Yes

String

Specifies the AS group ID.

Request

None

Example Request

Disable the warm pool of the AS group 5bc3aa02-b83e-454c-aba1-4d2095c68f8b.
DELETE https://{Endpoint}/autoscaling-api/{project_id}/scaling-groups/5bc3aa02-b83e-454c-aba1-4d2095c68f8b/warm-pool

Response

None

Example Response

None

Returned Values

  • Normal

    204

  • Abnormal

    Returned Value

    Description

    400 Bad Request

    The server failed to process the request.

    401 Unauthorized

    You must enter the username and password to access the requested page.

    403 Forbidden

    You are forbidden to access the requested page.

    404 Not Found

    The server cannot find the requested page.

    405 Method Not Allowed

    You are not allowed to use the method specified in the request.

    406 Not Acceptable

    The client does not accept the response generated by the server.

    407 Proxy Authentication Required

    The client must be authorized by the proxy before the request can proceed.

    408 Request Timeout

    The request timed out.

    409 Conflict

    The request cannot be processed due to a conflict.

    500 Internal Server Error

    Failed to complete the request. The service is abnormal.

    501 Not Implemented

    Failed to complete the request. The server does not support the requested function.

    502 Bad Gateway

    Failed to complete the request. The server received an invalid response from the upstream server.

    503 Service Unavailable

    Failed to complete the request. The system is abnormal.

    504 Gateway Timeout

    The gateway timed out.

Error Codes

See Error Codes.