---
title: "Update Firestore Allowed Collections"
method: PATCH
path: "/api/firestore/allowed_collections"
---

# Update Firestore Allowed Collections

`PATCH /api/firestore/allowed_collections`

Update allowed collections for Firestore access.

This allows updating the collection-level restrictions without
re-uploading the service account credentials.

Payload:
{
    "allowed_collections": ["users", "orders"]  # Array of collection paths, or null for all
}

Set allowed_collections to null to allow access to all collections.
Supports wildcards like "users/*/orders" for subcollections.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/1af581120ec0/schema)
