24 Replies Latest reply on Jun 11, 2018 11:55 AM by ganeshk1

    "Hard Delete" with REST API v3

    e965my

      The DocumentEntity in the REST API v3 supports the deletion of content.  When I delete files with syntax like "DELETE to /contents/{contentID}" the files are only marked as deleted.  They are no longer available to the user but they can be restored by an administrator in the Admin Console.  In this way the API is similar to the user experience in the UI.

       

      I have a business requirement that documents be hard deleted (unrecoverable) after a set amount of time.  Can this be done in with the REST API?  In the past we have used a custom plugin for this functionality but would prefer to migrate it to an externally scheduled job using the REST API.

       

      Thanks a lot in advance,

      Scott