RESTAPI:Deleting a File from a Transfer Session
Aus Cryptshare Documentation
Please note that the Cryptshare Server only allows this operation for a verified sender email address (see Verification).
With this endpoint a registered or uploaded file can be removed from a Transfer Session. This deletion contains the database entry of the registered file as well as the already uploaded file on the disk. Only files from transfer sessions that have been created by the given sender email address can be deleted.
Delete a File from a Transfer Session
DELETE https://<your-url>/api/users/<sender email-address>/transfer-sessions/<tracking-id>/files/<file-id>
If the deletion was successful, the HTTP response code 204 - No content will be returned.
If the file-id is not available to you, it can be requested by calling the Transfer Session State endpoint.