Deletes a version of a specified policy.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes DeletePolicyVersion

The name of this action.

Value: DeletePolicyVersion

PolicyName String Yes OSS-Administrator The policy name.
VersionId String Yes v3 The ID of the target policy version.

Response parameters

Parameter Type Example value Description
RequestId String 9B34724D-54B0-4A51-B34D-4512372FE1BE The request ID.


Request example
&<Common parameters>

Response example

XML format


JSON format



For a list of error codes, visit the API Error Center.