{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam/json-schema/amazon-iam-delete-policy-version-request-schema.json",
  "title": "DeletePolicyVersionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-policy-version-api-openapi.yml#/components/schemas/DeletePolicyVersionRequest",
  "type": "object",
  "properties": {
    "PolicyArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference."
    },
    "VersionId": {
      "type": "string",
      "description": "The policy version to delete. This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits. For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide."
    }
  },
  "required": [
    "PolicyArn",
    "VersionId"
  ]
}