Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete already uploaded file? #469

Closed
Maximilan4 opened this issue Mar 30, 2021 · 2 comments
Closed

Delete already uploaded file? #469

Maximilan4 opened this issue Mar 30, 2021 · 2 comments
Labels

Comments

@Maximilan4
Copy link

Maximilan4 commented Mar 30, 2021

Question
Has server a file deletion api? I cant find any info here or in clients`repo. Is this feature supported?

Setup details
using latest tusd version

@Acconut
Copy link
Member

Acconut commented Mar 30, 2021

Yes, send a DELETE request to the upload URL, as specified by the tus protocol: https://tus.io/protocols/resumable-upload.html#termination

@Maximilan4
Copy link
Author

Seems like simple delete does not implemented by official python client. Guess, i need run simple http request like:
curl -X DELETE <tusd-host>/files/<file-code> with additional tus headers. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants