Upload Cancel

Destory a temporary file

Request

POST https://api.cloudplan.biz/api/file/upload_cancel

{
    "file_id": "..."
}

Reply

{
    "result": true/false
    "reason": any error code (on failure)
}

Error Codes

file_id_empty
file_not_found
user_has_no_access