Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

On this page

Use this API method to delete an existing document or folder.

Request URL

The request URL takes the following form:
DELETE <ROOT>/rest/stonikbyte-documents-api/1.0/document/{documentID}

Parameters

Parameter

Description

{documentID}

The id of the document to be deleted

A successful response

An HTTP 200 status response indicates a successful request.

Error Response

If the REST call fails, the service returns one of the following HTTP statuses:

HTTP Status Code

Description

401 Unauthorized

Returned for unauthenticated requests or in case of invalid Documents app license

403 Forbidden

If the user does not have Delete permissions

404 Not found

If the document no longer exists.

  • No labels