Firebase Admin icon

Firebase Admin

Interact with Firebase Firestore, Auth, and Storage using Firebase Admin SDK

Firestore → Delete

AI-generated

Summary

Delete a document from a specified path within a Firestore database in a Google Cloud project.

Inputs

  • Project Name or ID — Select the Google Cloud project by name or ID where the Firestore database resides.
  • Database Name or ID — Select the Firestore database name or ID to target; defaults to the default database if not specified.
  • Path (required) — Provide the full document path to delete, in the format 'collection/documentId' or including subcollections like 'collection/documentId/subcollection/docId'.

Output shape

no body — success or failure only

On execution, the operation attempts to delete the specified document. It returns success if the document was deleted or failure if an error occurred. There is no document data returned from this operation.

Links

Discussion