Create Type
Creates a new type.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
propertyConfigs
description
iconName
workspace
The workspace in which to create the asset type. If not provided, the asset type will be created in the default workspace for the user’s organization, if the default workspace for the organization is configured.
Response
This endpoint returns an object.
rid
name
propertyConfigs
createdAt
description
iconName
The name of the icon to display for the type. This name maps to a Lucide icon in the frontend.