Skip to content

mdsp oe-device-types Command


mdsp oe-device-types


mdsp oe-device-types --help

Alternative form:

mc oe-device-types

(The CLI was using mc as default command name in older versions)


list, create or delete device types (open edge) *


Parameter list:

Usage: mdsp oe-device-types|oedt [options]

list, create or delete device types (open edge) *

 -m, --mode [list|create|delete|template|info] list | create | delete | template | info (default: "list")
 -f, --file .mdsp.json file with device type definition
 -t, --tenant tenant tenant of the device type definition
 -n, --devicetype the device type name
 -c, --code device type code
 -a, --assettype the device type associated asset type id
 -i, --id the device type id
 -o, --overwrite overwrite template file if it already exists
 -k, --passkey passkey
 -y, --retry retry attempts before giving up (default: "3")
 -v, --verbose verbose output
 -h, --help display help for command


Here are some examples of how to use the mdsp oe-device-types command:


 mdsp oe-device-types --mode list list all device types
 mdsp oe-device-types --mode list --tenant siemens list all device types which belongs to the tenant "siemens"
 mdsp oe-device-types --mode info --id get details of device type with the specified device id
 mdsp oe-device-types --mode template --devicetype board 
 create a template file for specified device type
 mdsp oe-device-types --mode create --file board.devicetype.mdsp.json 
 create device type board in Insights Hub
 mdsp oe-device-types --mode delete --id delete the device type with the device id

See Insights Hub API documentation for more information about Insights Hub APIs.


Connect and Collaborate with Industrial Professionals and Join the Community!

Click to load comments