Update a thing-type definition
Updates the metadata of a thing-type definition index. Requires an API key with the
write action scoped to the thing type.
Authorizations
API key passed in the header.
Path Parameters
The thing-type index id.
Body
The fields to update; omitted fields are left unchanged.
displayNamenull | stringNew display name, if changing.
>= 1, <= 100descriptionnull | stringNew description, if changing.
>= 0, <= 500defaultImageUrlnull | string<uri>New default image URL, if changing.
>= 0, <= 2048defaultIconUrlnull | string<uri>New default icon URL, if changing.
>= 0, <= 2048Response
The updated thing-type definition index.
thingTypeIdstringStable identifier for the thing type (the index id).
displayNamestringHuman-readable name for the thing type.
descriptionstringDescription of the thing type.
defaultImageUrlnull | stringOptional URL of a default image for devices of this type.
defaultIconUrlnull | stringOptional URL of a default icon for devices of this type.
latestThingTypeDefIdnull | stringIdentifier of the latest definition version this index points to.
latestVersionNumberinteger | string<int32>Version number of the latest definition.
^-?(?:0|[1-9]\d*)$versionsarray<object>The full version history for this thing type.
versions.versioninteger | string<int32>The version number.
^-?(?:0|[1-9]\d*)$versions.thingTypeDefIdstringIdentifier of the definition for this version.
isDeletedbooleanWhether this thing type has been soft-deleted.
createdAtstring<date-time>Timestamp (UTC) when the thing type was created.
updatedAtnull | string<date-time>Timestamp (UTC) when the thing type was last updated.
createdBystringIdentifier of the actor that created the thing type.
updatedBynull | stringIdentifier of the actor that last updated the thing type.