Skip to main content

Create a device template for a fleet

POST /api/v1/projects/:project_id/fleets/:fleet_id/device-templates

Create a device template for a fleet in the project

Path Parameters
  • project_id string required

    Project ID

  • fleet_id string required

    Fleet ID

Request Body required

Device template body

  • _keys string[]

    Keys to consider for the update

  • fleet_device_template_id string
  • fleetId string
  • orgId string
  • projectId string
  • template object
  • device_data_point_config object[]
  • Array [
  • active boolean
  • data_point_definition_id string
  • data_point_name string
  • device_data_policy_id string
  • ]
  • device_prefix string
  • device_suffix string
  • shadow_definition_id string
  • template_name string
Responses

Success" {"ok":1,"data":{"fleetDeviceTemplateId":"<fleet_device_template_id>"}}

Schema
    Loading...