User Tools

Site Tools


api:file:delete

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
api/file/delete.txt · Last modified: 2025/11/04 09:51 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki