Skip to navigation

CreateCollection

View as Markdown
Creates a new collection

CreateCollectionRequest

Request
This endpoint expects an object.
type_detailsobject
_device_selectorobject
typeenum

Type of collection to create (required)

Allowed values:
labelstring

Label for the collection (required, 1-100 characters)

descriptionstring

Optional description (max 500 characters)

CreateCollectionResponse

Response
This endpoint returns an object.
collectionobject
The newly created collection
added_countinteger

Number of devices added to the collection (0 if no device_selector was provided)