S.EE Docs
API 参考

取消大文件上传

取消进行中的上传会话并删除临时数据。

DELETE
/api/v1/file/large-file/cancel

Header Parameters

Authorization*string

API key

Request Body

Upload session ID

application/json
  1. body
upload_id*string

Upload session ID to cancel

Response Body

OK

application/json
  1. response
code?integer

Response status code (200 indicates success)

data?unknown

Response payload

message?string

Human-readable status message

Example Request
curl -X DELETE 'https://s.ee/api/v1/file/large-file/cancel' \  -H 'Authorization: string' \  -H 'Content-Type: application/json' \  -d '{  "upload_id": "string"}'
Example Response200
{  "code": 0,  "data": null,  "message": "string"}