Skip to main content
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 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.

Authorizations

Authorization
string
header
required

Access token obtained from the m2m-token endpoint.

Headers

Authorization
string
required

Authorization token

Body

application/json

The body is of type object.

Response

Successful response