Deleting an AS Group

Function

This interface is used to delete a specified AS group.

URI

DELETE /autoscaling-api/v1/{project_id}/scaling_group/{scaling_group_id}

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.

force_delete

No

String

Specifies whether to forcibly delete an AS group. Options:

  • no (default): indicates that the AS group is not forcibly deleted.
  • yes: indicates to forcibly delete an AS group.

Request

None

Example Request

This example deletes the AS group with ID a8327883-6b07-4497-9c61-68d03ee193a1.

DELETE https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_group/a8327883-6b07-4497-9c61-68d03ee193a1?force_delete=yes

Response

None

Example Response

None

Returned Values

Error Codes

See Error Codes.