Drive > Files > File/Directory > Upload
Cancel by path
Changed onCancel an upload by its path (for instance, if the session token is unknown)
delete/2/drive/{drive_id}/upload
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/2/drive/{drive_id}/upload
- AuthHTTP bearer
Path parameters
drive_idinteger required
Drive identifier
Request body
Example request
{
"directory_path": "/Directory/SubDirectory",
"file_name": "file.txt"
}Response
OK
Example response
{
"result": "success"
}Changes
- warning
added the new
forbidden_errorenum value to the//response property for the response status - info
added the non-success response with the status
- warning