Drive > Files > File/Directory > Upload > Session

Cancel session

Cancel an upload by its token. If you want to stop the upload and close the session to explicitly erase the file/upload. <br/><br/><note> When a session is started, it can be used for a maximum of 4 hours. It will be automatically canceled afterwards. </note>

delete/3/drive/{drive_id}/upload/session/{session_token}

Path parameters

drive_idinteger required

Drive identifier

session_tokeninteger required

Session token uuid

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

databoolean

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.