aws iot delete-policy-version
Deletes the specified version of the specified policy. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a version of policy
The following delete-policy-version example deletes version 2 of the specified policy from your AWS account.
aws iot delete-policy-version --policy-name UpdateDeviceCertPolicy --policy-version-id 2Identify--policy-nameThe name of the policy.--policy-version-idThe policy version ID.This command produces no output.
For more information, see AWS IoT Policies in the AWS IoT Developer Guide.
Options
--policy-nameThe name of the policy.--policy-version-idThe policy version ID.