All Products
Search
Document Center

Cloud Phone:DeletePolicyGroup

Last Updated:Dec 10, 2025

Deletes one or more policy groups.

Operation description

A policy group cannot be deleted if it is associated with an instance group.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

PolicyGroupIds

array

Yes

A list of policy group IDs. If any specified policy group is associated with an existing instance group, the entire operation fails.

string

No

A policy group ID.

pg-gx4ger9hynfov****

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

17C731AB-AAEE-5844-A352-D8D0352D3F0B

Examples

Success response

JSON format

{
  "RequestId": "17C731AB-AAEE-5844-A352-D8D0352D3F0B"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.