Skip to content

Reference

Supabase Management API

Manage Supabase organizations and projects through Alter Vault

Use a Supabase personal access token to call the account-level Management API at api.supabase.com. Alter sends the token as Authorization: Bearer ... and validates it when the secret is saved.

PropertyValue
Provider IDsupabase-management
CategoryDeveloper Tools
Credential TypeBearer Token

Open Account settings → Access Tokens, generate a token, and copy the personal access token beginning with sbp_.

Choose Managed SecretsAdd Managed SecretSupabase Management API, paste the personal access token, and save. Alter validates it against the Management API and fixes the proxy destination to api.supabase.com.

The Management API destination is provider-owned. It cannot be widened or cleared with the generic allowed-hosts editor or CLI command.

Credential rotation reapplies the built-in bearer-header and api.supabase.com binding. A project API key is rejected rather than being stored under the Management API contract.

response = await alter_app.request(
HttpMethod.GET,
"https://api.supabase.com/v1/projects",
grant_id="YOUR_GRANT_ID",
)

Alter policy rules can target the Management API’s attested operations, including project and organization creation, branch management, billing add-ons, API-key administration, secrets, functions, and JIT database access.

Example operation IDFamiliesMethodProvider path
v1-create-a-projectwritePOST/v1/projects
v1-delete-a-projectdeleteDELETE/v1/projects/{ref}
v1-apply-project-addonpaymentPATCH/v1/projects/{ref}/billing/addons
v1-invite-external-jit-accessadmin, sendPOST/v1/projects/{ref}/database/jit/invite
v1-create-project-api-keyadmin, writePOST/v1/projects/{ref}/api-keys

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.