File resource

Share file API - Remove a share

OVERVIEW

Purpose

This API method is used to remove a single share link 

Request Body

DELETE       /shares/{shareid}

The {shareid} is the Id of the share which is to be deleted. The "shareid" can be obtained from the list of shares API method.

Conditions

  • The share link should be an active share link.
  • This API will remove only single share link.
  • If the {shareid} does not exists in system, system throws a 'Access denied' response.

 

Response Code

 

Code Meaning
200 Share link deleted successfully.
401 Unauthorized
405 Method not allowed (The API has been called with invalid parameters)

 

 

Comments


0 Comments

Last Updated: Nov 08,2024