Batch Deleting AS Configurations

Function

This interface is used to batch delete AS configurations.

URI

POST /autoscaling-api/v1/{project_id}/scaling_configurations

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

Request

Table 2 Request parameters

Parameter

Mandatory

Type

Description

scaling_configuration_id

Yes

Array of strings

Specifies the AS configuration ID. For details, see Querying AS configurations.

Example Request

This example deletes the AS configurations with IDs config1 and config2 in a batch.
POST https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_configurations

{
    "scaling_configuration_id": [
        "config1",
        "config2"
    ]
}

Response

None

Example Response

None

Returned Values

Error Codes

See Error Codes.