© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
47 replies
Idris

Multi tenant app. Headers

Hi,

I would like to create a header
x-org-id
x-org-id
that the supabase sdk sents for every request using the DataAPI? Is this possible and can I use this in RPCs and RLS policies?

If not I could also sent it as a param to RPCs instead but dont think I have a way to use that as hint in RLS unless I write to a table that has a org Id column.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

multi tenant auth
SupabaseSSupabase / help-and-questions
5mo ago
Multi-tenant authentication
SupabaseSSupabase / help-and-questions
13mo ago
Multi-tenant app where each tenant can have user login
SupabaseSSupabase / help-and-questions
3y ago
Multi-Tenant Architecture for Storage
SupabaseSSupabase / help-and-questions
4y ago