Firebase Admin icon

Firebase Admin

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

Firestore Rule → Release Rules

AI-generated

Summary

Release a Firestore security ruleset to a specified release in a Firebase project, making the ruleset active for the targeted database or service.

Inputs

  • Project Name or ID (required) — Select the Firebase project by name or ID where the Firestore ruleset will be released.
  • Release Name Override — Optionally override the auto-derived release name (such as 'cloud.firestore' or 'cloud.firestore/{database}'). Leave blank to use the default derived name based on the selected database.
  • Ruleset Name (required) — Specify the fully-qualified ruleset resource name (e.g., 'projects/my-project/rulesets/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx') to be released.

Output shape

a JSON object representing the release operation result, typically including details of the released ruleset and release metadata

Requires the fully-qualified ruleset resource name and the project context. The release name override is optional but useful if the default release name derivation is rejected by the API.

Examples

Example 1: Release a new ruleset to the default Firestore release

Set Project Name or ID to the Firebase project, leave Release Name Override empty to use default derived name, specify the fully-qualified Ruleset Name to release.

Links

Discussion