Skip to contents

Create devices in the telemetry API

Usage

telem_create_devices(data, dry_run = FALSE, verbosity = 0)

Arguments

data

A tibble with columns: serial_number, state (the column must be present; NA is allowed). Optional columns: blueprint_id, price, purchased_at, retired_at, frequency, notes, project_id.

dry_run

Logical. If TRUE, prints the request without sending it.

verbosity

Integer. How much information to print (0 = silent, 1 = headers, 2 = headers + body, 3 = full).

Value

A tibble of created devices with their assigned IDs.