Deleting an AS Policy

Function

This interface is used to delete a specified AS policy.

URI

DELETE /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id}

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

scaling_policy_id

Yes

String

Specifies the AS policy ID.

Request

None

Example Request

This example deletes the AS policy with ID 906f73ff-56e8-41b2-a005-8157d0c60361.

DELETE https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_policy/906f73ff-56e8-41b2-a005-8157d0c60361

Response

None

Example Response

None

Returned Values

Error Codes

See Error Codes.