Sanity Library Reference Docs
    Preparing search index...

    Function delete_

    • Deletes a document.

      Parameters

      • id: string

        The id of the document to be deleted.

      Returns DeleteMutation

      The mutation operation to delete the document.