Answer Server 25.3
Answer Server Help

# Delete a Question or Question Equivalence Class

You can use the ManageResources action to delete a question or a question equivalence class.

After you delete an item, there is a short period in which you can undelete it, before it is permanently deleted from the system. See Undelete a Question or Question Equivalence Class.

To delete a question or question equivalence class, you use a ManageResources action in a POST request method, with the information about the item that you want to delete provided in the Data parameter as a JSON object.

You must include the ID of the item that you want to delete, and set the type of the operation to `question` or `question_equivalence_class`, as appropriate.

NOTE: You cannot delete a question that has the state `answered` (that is, a question that belongs to a question equivalence class). You must remove it from the question equivalence class before you delete it. See Update the Question State and Update a Question Equivalence Class.

You can retrieve the ID of the question or question equivalence class by sending a GetResources action. For example:

    http://localhost:12000?Action=GetResources&SystemName=Answerbank&Type=question_equivalence_class

The following example deletes a question equivalence class.

    Action=ManageResource&SystemName=AnswerBank
    data={
       "operation":"delete",
       "type":"question_equivalence_class",
       "ids": [
          "2012912839742797651"
       ]
    }

You can retrieve the full schema for the JSON object to use by using the GetResources action. See Find the JSON Schema for Your Update.

NOTE: The ManageResources action fails if you attempt to use request JSON that contains properties that are not contained in the appropriate schema.

TIP: Typically, OpenText recommends that you send ManageResources as a POST request. For testing, you can use a GET request, in which case you must base64 encode the JSON data.

Copyright 2016-2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Answer Server 25.3

Topic Title: Delete a Question or Question Equivalence Class