RESTAPI:Deleting a File from a Transfer Session

Aus Cryptshare Documentation
Wechseln zu:Navigation, Suche
Please note that the Cryptshare Server only allows this operation for verified sender addresses or verified email addresses (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.