Skip to content

Mark As Filled

Mark file request as filled. This close the door for uploading and send notification for the user about this event.

Endpoint

http
DELETE /api/v1/requests/{file_request_id}

Parameters

Path parameters

ParameterTypeRequiredDescription
file_request_idstringyes-

Request example

sh
curl --location --request DELETE 'https://files.ro/api/v1/requests/{file_request_id}' \

Response

json
{
  "type": "success",
  "message": "File request was successfully set as filled"
}
json
{
  "type": "error",
  "message": "Access Denied"
}
json
{
  "message": "The given data was invalid.",
  "errors": {
    "field": [
      "The field is required."
    ]
  }
}