Drive > Files > File/Directory > Upload > Session
Cancel session
Changed onCancel 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}
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/3/drive/{drive_id}/upload/session/{session_token}
- AuthHTTP bearer
Path parameters
drive_idinteger required
Drive identifier
session_tokeninteger required
Session token uuid
Response
OK
Example response
{
"result": "success"
}Changes
- info
added the non-success response with the status
- info