{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-delete-document-request-schema.json",
  "title": "DeleteDocumentRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-documents-api-openapi.yml#/components/schemas/DeleteDocumentRequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "The name of the document."
    },
    "DocumentVersion": {
      "type": "string",
      "description": "The version of the document that you want to delete. If not provided, all versions of the document are deleted."
    },
    "VersionName": {
      "type": "string",
      "description": "The version name of the document that you want to delete. If not provided, all versions of the document are deleted."
    },
    "Force": {
      "type": "boolean",
      "description": "Some SSM document types require that you specify a Force flag before you can delete the document. For example, you must specify a Force flag to delete a document of type ApplicationConfigurationSchema. You can restrict access to the Force flag in an Identity and Access Management (IAM) policy."
    }
  },
  "required": [
    "Name"
  ]
}