Enroll legacy board
Legacy enrollment route; code is single use and expires after 10 minutes.
POST
/v1/device/enrollHeader parameters
x-openlaunch-workspacestringrequiredWorkspace routing identifier for the device credential; not a secret.
matches ^[a-f0-9]{64}$
Request body
requiredapplication/jsontokenstringrequiredmin length 64 · max length 64
manifestManifestrequiredShow propertiesHide properties
namestringrequiredmin length 1 · max length 64
kindstringrequiredmin length 1 · max length 64 · matches ^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*$
capabilitiesstring[]requiredmin items 1 · max items 16
functionsobject[]max items 16
Show propertiesHide properties
Array of
objectnamestringrequiredmin length 1 · max length 64 · matches ^[a-z][a-z0-9_]*(?:\.[a-z][a-z0-9_]*)*$
titlestringrequiredmin length 1 · max length 64
descriptionstringrequiredmin length 1 · max length 240
accessstringrequiredAllowed:
readwriteinputSchemaobjectrequiredShow propertiesHide properties
typestringrequiredpropertiesobjectrequiredrequiredstring[]requiredmax items 16
additionalPropertiesbooleanrequiredResponses
201
Successful response
dataAttachedDevicerequiredShow propertiesHide properties
deviceIdstring<uuid>requiredtokenstringrequiredPrivate child device credential. Returned only at enrollment/attachment; revoking the device invalidates it.
400
Invalid request or validation failure
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring401
Missing or invalid credential
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring403
Insufficient access or grant
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring404
Resource not found
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring413
Request body exceeds the 16 KiB limit
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring429
Rate limit or workspace capacity limit
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring500
Internal error
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring503
Service or required integration is not configured
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
Array of
objectpathstringmessagestring