Skip to content

/AWS1/CL_IOT=>DELETEPOLICYVERSION()

About DeletePolicyVersion

Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this action. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.

Requires permission to access the DeletePolicyVersion action.

Method Signature

IMPORTING

Required arguments:

IV_POLICYNAME TYPE /AWS1/IOTPOLICYNAME /AWS1/IOTPOLICYNAME

The name of the policy.

IV_POLICYVERSIONID TYPE /AWS1/IOTPOLICYVERSIONID /AWS1/IOTPOLICYVERSIONID

The policy version ID.