Bulk delete items from Question library
Build / Netquest
Bulk delete items from Question library
Description
Delete all question item related to the ids. If any id is not found the endpoint won’t remove any question.
Payload
The endpoint receives an array with the ids of the question to be removed from the library.
{
"questionLibraryIds": ["string"]
}
questionLibraryIds: Array list with all the ids to delete
Response
204 OK No Content
Questions were deleted successfully
401 Unauthorized
The user is not authorized
403 Forbidden
The user doesn’t have enough privileges to use this endpoint
The company is not enabled to perform this action
404 Not Found
If any question ids in the payload where not found in the database.
500 Internal Server Error
Error occurred while processing the request.
POST
Bulk delete items from Question library
Description
Delete all question item related to the ids. If any id is not found the endpoint won’t remove any question.Payload
The endpoint receives an array with the ids of the question to be removed from the library.questionLibraryIds: Array list with all the ids to delete
Response
204 OK No Content
Questions were deleted successfully
401 Unauthorized
The user is not authorized
403 Forbidden
The user doesn’t have enough privileges to use this endpoint
The company is not enabled to perform this action404 Not Found
If any question ids in the payload where not found in the database.
500 Internal Server Error
Error occurred while processing the request.