# NOT RUN {
# Disable a single HIT
b <- GenerateExternalQuestion("http://www.example.com/","400")
hit1 <- CreateHIT(hit.type="2FFNCWYB49F9BBJWA4SJUNST5OFSOW",
expiration = seconds(days = 1),
question=b$string)
DisableHIT(hit = hit1$HITId)
# Disable all HITs of a given HITType
DisableHIT(hit.type = hit1$HITTypeId)
# Disable all HITs of a given batch from the RUI
DisableHIT(annotation="BatchId:78382;")
# }
Run the code above in your browser using DataLab