deleteDocuments

@DELETE(value = documents)
abstract suspend fun deleteDocuments(@Body() documentDeleteDto: DocumentDeleteDto): Response<DocumentDeleteResponseDto>

Delete documents This endpoint will allow you to batch delete documents. To delete one or more documents pass their ids as an array in the request body Important: If any of the documents fail to delete the whole request will fail * Responses:

  • 200: Success. The documents were deleted from the system and the array of deleted document ids are passed back.

  • 400: Bad Request. This will occur if you provide an invalid value for a request parameter, an invalid parameter or invalid body. This can also happen if there is a problem deleting one or more of the documents in the request The response will have the document id that caused the problem and the error message

  • 401: Unauthorized. This will occur if you do not supply an access-token to this endpoint, or if you provide an expired or invalid access token.

  • 403: Forbidden. This will occur if you try to use this endpoint without being setup for documents.

  • 500: Internal Server Error.

Parameters

documentDeleteDto