SupabaseS
Supabase3mo ago
Idris

Multi tenant app. Headers

Hi,

I would like to create a header 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.
Was this page helpful?