Drive > Files > Action
Undo action
Cancel an action with a token or cancel actions with tokens. An action token is a token returned with a CancelResource. Used in bulk processes or specific actions like renaming a file.
post/2/drive/{drive_id}/cancel
Request
- Base URLhttps://api.infomaniak.com
- URLhttps://api.infomaniak.com/2/drive/{drive_id}/cancel
- AuthHTTP bearer
Path parameters
drive_idinteger required
Drive identifier
Request body
Example request
{
"cancel_id": "00000000-e89b-12d3-a456-000000000000",
"cancel_ids": [
"00000000-e89b-12d3-a456-000000000000"
]
}Response
OK
Example response
{
"result": "success",
"data": {
"id": "96df2a1c-xxxx-441c-ae3a-2191f91fdc7",
"message": "error_already_exist"
}
}Changes
No recorded changes to this operation across all 40 revisions of this API.