Delete report

Resource URL

DELETE | POST https://plagiarismsearch.com/api/v3/reports/delete/{id}

Parameters

Parameter Type Description Optional Default
id integer Report ID. Used in the request URL.

Example

DELETE https://plagiarismsearch.com/api/v3/reports/delete/100500

Request

  
  /* @var $api Reports */
  require_once 'init-api.php';

  $id = 100500;
  $data = [];

  echo $api->deleteAction($id, $data);  

Response

  
  {
      "status": true,
      "code": 200,
      "data": 1,
      "version": "3.0.0"
  }  

Error Response

  
  {
      "status": false,
      "code": 404,
      "version": "3.0.0",
      "message": "Report not found",
      "errors": [
          "Report not found"
      ]
  }


  {
      "status": false,
      "code": 401,
      "version": "3.0.0",
      "message": "Authentication failed",
      "errors": null
  }  

Resource Information

Rate Limited True
Authentication HTTP basic
Response Format JSON