Native Object Client
    Preparing search index...

    Function deleteNativeObject

    • Deletes a native object

      Type Parameters

      • T = any

      Parameters

      • uri: string & $brand<"primaryKeyUri">
      • opts: Options = {}

      Returns Promise<T>

      The following example shows the deletion of a my-type native object instance with a primary key of foo:

      import { deleteNativeObject, primaryKeyUriString } from "@contextual-io/native-object-client"

      await deleteNativeObject(
      primaryKeyUriString("my-type/foo"),
      )