Finish active operations

PUT /api/2.0/files/fileops/terminate/{id}

Request

Finishes an operation with the ID specified in the request or all the active operations.

Headers

Acceptenum of string

Can be one of: application/json, text/json, text/plain.

Path

idstringrequired

Examples

PUT /api/2.0/files/fileops/terminate/4324 HTTP/1.1
Accept: application/json
Host: example.com
curl --request PUT \
  --url https://example.com/api/2.0/files/fileops/terminate/4324 \
  --header 'Accept: application/json'

Responses

200

List of file operations

idstring
Operationone of
.enum of string

[Move - Move, Copy - Copy, Delete - Delete, Download - Download, MarkAsRead - MarkAsRead, Import - Import, Convert - Convert, Duplicate - Duplicate]

Can be one of: Move, Copy, Delete, Download, MarkAsRead, Import, Convert, Duplicate.

.enum of integer

[0 - Move, 1 - Copy, 2 - Delete, 3 - Download, 4 - MarkAsRead, 5 - Import, 6 - Convert, 7 - Duplicate]

Can be one of: 0, 1, 2, 3, 4, 5, 6, 7.

progressintegerformat: int32
errorstring
processedstring
finishedboolean
urlstringformat: uri
filesarray of unknown
foldersarray of unknown

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).