createAssetType
inline suspend fun DataZoneClient.createAssetType(crossinline block: CreateAssetTypeRequest.Builder.() -> Unit): CreateAssetTypeResponse
Creates a custom asset type.
Prerequisites:
The
formsInputfield is required, however, can be passed as empty (e.g.-forms-input {}).You must have
CreateAssetTypepermissions.The domain-identifier and owning-project-identifier must be valid and active.
The name of the asset type must be unique within the domain — duplicate names will cause failure.
JSON input must be valid — incorrect formatting causes Invalid JSON errors.