Firebase Realtime Database icon

Firebase Realtime Database

Utilities for Firebase Realtime Database (scaffold)

Delete

AI-generated

Overview

This node performs a delete operation on a specified path in a Firebase Realtime Database. It removes the value at the given JSON path within the database. This is useful for scenarios where you need to delete data entries or nodes from your Firebase database programmatically, such as cleaning up obsolete data or removing user-specific information.

Use Case Examples

  1. Deleting a user profile data at path /users/user123
  2. Removing a specific message from a chat application stored at /messages/msg456

Properties

Name Meaning
Database URL Base URL of your Firebase Realtime Database without a trailing slash, used to construct the full request URL for the delete operation.
Path The JSON path within the database where the delete operation will be performed. Leading slash is allowed but removed internally.
Return Determines the response mode after the delete operation: Default returns the standard response, Key Only returns only the key (not applicable for delete), Silent returns no response body.

Output

JSON

  • json - The JSON response from Firebase after the delete operation, which may be empty or contain status information depending on the return mode.

Dependencies

  • Requires an OAuth2 API credential for Google Firebase Realtime Database authentication.

Troubleshooting

  • Common issues include incorrect database URL or path, leading to 404 errors or failed deletions.
  • Authentication errors if the OAuth2 credentials are invalid or expired.
  • If 'Silent' return mode is selected, the response body will be empty, which might be unexpected if output is expected.

Discussion