Deleting an AS Configuration

Function

This interface is used to delete a specified AS configuration.

AS configurations used by AS groups cannot be deleted.

URI

DELETE /autoscaling-api/v1/{project_id}/scaling_configuration/{scaling_configuration_id}

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

scaling_ configuration _id

Yes

String

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

Request

None

Example Request

This example deletes the AS configuration with ID 6afe46f9-7d3d-4046-8748-3b2a1085ad86.

DELETE https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_configuration/6afe46f9-7d3d-4046-8748-3b2a1085ad86

Response

None

Example Response

None

Returned Values

Error Codes

See Error Codes.