RESTAPI:Deleting a File from a Transfer Session: Unterschied zwischen den Versionen

Aus Cryptshare Documentation
Wechseln zu:Navigation, Suche
imported>Frorathm
(Die Seite wurde neu angelegt: „{{InfoBox|title=|content=Please note that the Cryptshare Server only allows this operation for verified sender addresses or verified email addresses (see [[{{NAMESPACE}}:About_Verifications|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 be…“)
 
Keine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
{{InfoBox|title=|content=Please note that the Cryptshare Server only allows this operation for verified sender addresses or verified email addresses (see [[{{NAMESPACE}}:About_Verifications|Verification]]).
{{InfoBox|title=|content=Please note that the Cryptshare Server only allows this operation for a verified sender email address (see [[{{NAMESPACE}}:About_Verifications|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.
}}
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 a File from a Transfer Session ==

Aktuelle Version vom 10. Juni 2024, 09:49 Uhr

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.