Table of Contents

API : File Delete

Introduction

Delete a file.

Request

URL https://api.telecomx.dk/file/ID
Method DELETE
Access level Minimum VIEWER
Param ID Id of the document (24 hex-char string)

Query example

DELETE https://api.telecomx.dk/file/1234567890ABCDEF12345678

Response

Json object
success Boolean True on success

Example

{
  success: true
}

Errors

Error code Message Description
400 document Document id not found in request URI
403 access_denied Insufficient access level
403 access_denied This file can not be deleted
404 not_found Document not found
500 id Cannot delete file on <type> server