S.EE Docs
API 參考

TUS 終止上傳

終止 TUS 上傳並捨棄已接收的資料。

DELETE
/api/v1/file/large-file-tus/{upload_id}

Path Parameters

upload_id*string

Upload session ID

Header Parameters

Authorization*string

API key

Tus-Resumable*"1.0.0"

TUS protocol version

Value in"1.0.0"

Response Body

Upload terminated

Example Request
curl -X DELETE 'https://s.ee/api/v1/file/large-file-tus/string' \  -H 'Authorization: string' \  -H 'Tus-Resumable: 1.0.0'
Example Response204
Empty