Delete Cleaning Map

Last Updated on : 2022-01-18 06:18:40

Delete the cleaning map file of a specified robot vacuum.

API address

DELETE: /v1.0/users/sweepers/file/{device_id}/clean-history

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueThe device ID.
file_idsStringquerytrueThe record ID of a specified file. Multiple IDs are separated by a comma (,).

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result. Valid values:
  • true: success.
  • false: failure.

Request example

DELETE: /v1.0/users/sweepers/file/6c6561cfb316df6e7a****/clean-history?fileIds=14217706,14141064

Return example

{
    "result": true,
    "t": 1641886599252,
    "success": true
}

Error code

For more information, see error code.