The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(docs): correct api for temporary access (#48741)
Etienne Stalmans773b388f251f
diff --git a/apps/docs/content/guides/platform/temporary-access.mdx b/apps/docs/content/guides/platform/temporary-access.mdxindex 2862e3bdcba..0c9eec50002 100644--- a/apps/docs/content/guides/platform/temporary-access.mdx+++ b/apps/docs/content/guides/platform/temporary-access.mdx@@ -9,6 +9,12 @@ Enabling temporary access only applies to connections to Postgres and Supavisor<Admonition type="note">+[Enforce SSL](/docs/guides/platform/ssl-enforcement) on incoming connections must be enabled before temporary access can be used.++</Admonition>++<Admonition type="note">+Projects need to be at least on Postgres 17.6.1.081 (or higher) to enable temporary access. You can find the Postgres version of your project on the [General Settings](/dashboard/project/_/settings/general) page. If your project is on an older version, you will need to [upgrade](/docs/guides/platform/upgrading) to use this feature.</Admonition>@@ -27,11 +33,11 @@ export SUPABASE_MANAGEMENT_API_TOKEN="your-access-token"export PROJECT_REF="your-project-ref"# Get current temporary access status-curl -X GET "https://api.supabase.com/v1/projects/$PROJECT_REF/database/jit-access" \+curl -X GET "https://api.supabase.com/v1/projects/$PROJECT_REF/jit-access" \-H "Authorization: Bearer $SUPABASE_MANAGEMENT_API_TOKEN"# Enable temporary access-curl -X PUT "https://api.supabase.com/v1/projects/$PROJECT_REF/database/jit-access" \+curl -X PUT "https://api.supabase.com/v1/projects/$PROJECT_REF/jit-access" \-H "Authorization: Bearer $SUPABASE_MANAGEMENT_API_TOKEN" \-H "Content-Type: application/json" \-d '{@@ -39,7 +45,7 @@ curl -X PUT "https://api.supabase.com/v1/projects/$PROJECT_REF/database/jit-acce}'# Disable temporary access-curl -X PUT "https://api.supabase.com/v1/projects/$PROJECT_REF/database/jit-access" \+curl -X PUT "https://api.supabase.com/v1/projects/$PROJECT_REF/jit-access" \-H "Authorization: Bearer $SUPABASE_MANAGEMENT_API_TOKEN" \-H "Content-Type: application/json" \-d '{diff --git a/supa-mdx-lint/Rule003Spelling.toml b/supa-mdx-lint/Rule003Spelling.tomlindex 6bd06da8c4b..b1c3750cf61 100644--- a/supa-mdx-lint/Rule003Spelling.toml+++ b/supa-mdx-lint/Rule003Spelling.toml@@ -217,7 +217,7 @@ allow_list = ["Datadog","Deadpool","Dependabot",- "DepthFirst"+ "DepthFirst","DDoS","Deno","Dependabot",