> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # DeleteQuestionEntry # Package: faqApp # Namespace: QuestionEntryService # Method link: https://dev.wix.com/docs/api-reference/business-management/faq-app/question-entry-v2/delete-question-entry.md ## Permission Scopes: Manage FAQ: SCOPE.DC-LABS.MANAGE-FAQ ## Introduction Deletes a question entry. Deleting a question entry permanently removes it from the site's Wix FAQ dashboard page. To delete multiple question entries, call the Bulk Delete Question Entries method. --- ## REST API ### Schema ``` Method: deleteQuestionEntry Description: Deletes a question entry. Deleting a question entry permanently removes it from the site's Wix FAQ dashboard page. To delete multiple question entries, call the Bulk Delete Question Entries method. URL: https://www.wixapis.com/faq/v2/question-entries/{questionEntryId} Method: DELETE # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: questionEntryId Method parameters: param name: questionEntryId | type: none | required: true Return type: DeleteQuestionEntryResponse EMPTY-OBJECT {} ``` ### Examples ### DeleteQuestionEntry ```curl ~~~cURL curl --request DELETE \ --url https://www.wixapis.com/faq/v2/question-entries/q1a2b3c4-d5e6-7890-abcd-ef1234567890 \ --header 'Authorization: ' \ --header 'Content-Type: application/json' ~~~ ``` --- ## JavaScript SDK ### Schema ``` Method: wixClientAdmin.faqApp.QuestionEntryService.deleteQuestionEntry(questionEntryId) Description: Deletes a question entry. Deleting a question entry permanently removes it from the site's Wix FAQ dashboard page. To delete multiple question entries, call the Bulk Delete Question Entries method. # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: questionEntryId Method parameters: param name: questionEntryId | type: string | description: GUID of the question entry to delete. | required: true Return type: PROMISE EMPTY-OBJECT {} ``` ### Examples ### deleteQuestionEntry ```javascript import { questionEntry } from '@wix/faq'; async function deleteQuestionEntry(questionEntryId) { const response = await questionEntry.deleteQuestionEntry(questionEntryId); }; ``` ### deleteQuestionEntry (with elevated permissions) ```javascript import { questionEntry } from '@wix/faq'; import { auth } from '@wix/essentials'; async function myDeleteQuestionEntryMethod(questionEntryId) { const elevatedDeleteQuestionEntry = auth.elevate(questionEntry.deleteQuestionEntry); const response = await elevatedDeleteQuestionEntry(questionEntryId); } ``` ### deleteQuestionEntry (self-hosted) Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md). ```javascript import { createClient } from '@wix/sdk'; import { questionEntry } from '@wix/faq'; // Import the auth strategy for the relevant access type // Import the relevant host module if needed const myWixClient = createClient ({ modules: { questionEntry }, // Include the auth strategy and host as relevant }); async function deleteQuestionEntry(questionEntryId) { const response = await myWixClient.questionEntry.deleteQuestionEntry(questionEntryId); }; ``` ---