Skip to content

Batch Delete Device Position History

locationservice_batch_delete_device_position_history R Documentation

Deletes the position history of one or more devices from a tracker resource

Description

Deletes the position history of one or more devices from a tracker resource.

Usage

locationservice_batch_delete_device_position_history(TrackerName,
  DeviceIds)

Arguments

TrackerName

[required] The name of the tracker resource to delete the device position history from.

DeviceIds

[required] Devices whose position history you want to delete.

  • For example, for two devices: ⁠“DeviceIds” : [DeviceId1,DeviceId2]⁠

Value

A list with the following syntax:

list(
  Errors = list(
    list(
      DeviceId = "string",
      Error = list(
        Code = "AccessDeniedError"|"ConflictError"|"InternalServerError"|"ResourceNotFoundError"|"ThrottlingError"|"ValidationError",
        Message = "string"
      )
    )
  )
)

Request syntax

svc$batch_delete_device_position_history(
  TrackerName = "string",
  DeviceIds = list(
    "string"
  )
)