{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-delete-environment-request-schema.json",
  "title": "DeleteEnvironmentRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-environments-api-openapi.yml#/components/schemas/DeleteEnvironmentRequest",
  "type": "object",
  "properties": {
    "EnvironmentId": {
      "type": "string",
      "description": "The ID of the environment that you want to delete."
    },
    "ApplicationId": {
      "type": "string",
      "description": "The application ID that includes the environment that you want to delete."
    },
    "DeletionProtectionCheck": {
      "type": "string",
      "enum": [
        "ACCOUNT_DEFAULT",
        "APPLY",
        "BYPASS"
      ],
      "description": "A parameter to configure deletion protection. Deletion protection prevents a user from deleting an environment if your application called either GetLatestConfiguration or in the environment during the specified interval. This parameter supports the following values: BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it. APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. APPLY also forces the deletion protection check to"
    }
  },
  "required": [
    "EnvironmentId",
    "ApplicationId"
  ]
}