Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: update automated _api and _gotrue references

Wen Bo Xiee3a1518d0c4b
diff --git a/apps/reference/_api/usage.mdx b/apps/reference/_api/usage.mdx
index 26e64d10479..09584d7a96b 100644
--- a/apps/reference/_api/usage.mdx
+++ b/apps/reference/_api/usage.mdx
@@ -5,17 +5,25 @@ title: Usage
toc_max_heading_level: 3
---
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
+
## Organizations {#organizations}
Organization endpoints
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### List all organizations {#list-all-organizations}
@@ -26,8 +34,15 @@ GET https://api.supabase.com/v1/organizations
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -36,8 +51,11 @@ GET https://api.supabase.com/v1/organizations
<TabItem value="200">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
```json
{
"schema": {
@@ -52,12 +70,16 @@ GET https://api.supabase.com/v1/organizations
"type": "string"
}
},
- "required": ["id", "name"]
+ "required": [
+ "id",
+ "name"
+ ]
}
}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -68,6 +90,8 @@ Unexpected error listing organizations
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -76,6 +100,7 @@ Unexpected error listing organizations
<br />
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Create an organization {#create-an-organization}
@@ -86,8 +111,14 @@ POST https://api.supabase.com/v1/organizations
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Body Parameters
```json
@@ -99,11 +130,14 @@ POST https://api.supabase.com/v1/organizations
"type": "string"
}
},
- "required": ["name"]
+ "required": [
+ "name"
+ ]
}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -112,8 +146,11 @@ POST https://api.supabase.com/v1/organizations
<TabItem value="201">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
```json
{
"schema": {
@@ -126,11 +163,15 @@ POST https://api.supabase.com/v1/organizations
"type": "string"
}
},
- "required": ["id", "name"]
+ "required": [
+ "id",
+ "name"
+ ]
}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -141,6 +182,8 @@ Unexpected error creating an organization
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -149,10 +192,14 @@ Unexpected error creating an organization
<br />
+
+
## Projects {#projects}
Project endpoints
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### List all projects {#list-all-projects}
@@ -163,8 +210,15 @@ GET https://api.supabase.com/v1/projects
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -173,8 +227,11 @@ GET https://api.supabase.com/v1/projects
<TabItem value="200">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
```json
{
"schema": {
@@ -198,12 +255,19 @@ GET https://api.supabase.com/v1/projects
"type": "string"
}
},
- "required": ["id", "organization_id", "name", "region", "created_at"]
+ "required": [
+ "id",
+ "organization_id",
+ "name",
+ "region",
+ "created_at"
+ ]
}
}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -212,6 +276,7 @@ GET https://api.supabase.com/v1/projects
<br />
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Create a project {#create-a-project}
@@ -222,8 +287,14 @@ POST https://api.supabase.com/v1/projects
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Body Parameters
```json
@@ -242,7 +313,10 @@ POST https://api.supabase.com/v1/projects
},
"plan": {
"type": "string",
- "enum": ["free", "pro"]
+ "enum": [
+ "free",
+ "pro"
+ ]
},
"region": {
"type": "string",
@@ -265,11 +339,18 @@ POST https://api.supabase.com/v1/projects
"type": "boolean"
}
},
- "required": ["db_pass", "name", "organization_id", "plan", "region"]
+ "required": [
+ "db_pass",
+ "name",
+ "organization_id",
+ "plan",
+ "region"
+ ]
}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -278,8 +359,11 @@ POST https://api.supabase.com/v1/projects
<TabItem value="201">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
```json
{
"schema": {
@@ -301,11 +385,18 @@ POST https://api.supabase.com/v1/projects
"type": "string"
}
},
- "required": ["id", "organization_id", "name", "region", "created_at"]
+ "required": [
+ "id",
+ "organization_id",
+ "name",
+ "region",
+ "created_at"
+ ]
}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -314,6 +405,7 @@ POST https://api.supabase.com/v1/projects
<br />
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### List all functions {#list-all-functions}
@@ -324,24 +416,39 @@ GET https://api.supabase.com/v1/projects/{ref}/functions
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Path Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">ref</span>
- <span className="method-list-item-label-badge">required</span>
- <span className="method-list-item-validation"></span>
- </h4>
-
- <div class="method-list-item-description">Project ref</div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ ref
+ </span>
+ <span className="method-list-item-label-badge">
+ required
+ </span>
+ <span className="method-list-item-validation">
+
+ </span>
+ </h4>
+
+ <div class="method-list-item-description">
+ Project ref
+ </div>
</li>
</ul>
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -350,8 +457,11 @@ GET https://api.supabase.com/v1/projects/{ref}/functions
<TabItem value="200">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
```json
{
"schema": {
@@ -369,7 +479,11 @@ GET https://api.supabase.com/v1/projects/{ref}/functions
"type": "string"
},
"status": {
- "enum": ["ACTIVE", "REMOVED", "THROTTLED"],
+ "enum": [
+ "ACTIVE",
+ "REMOVED",
+ "THROTTLED"
+ ],
"type": "string"
},
"version": {
@@ -399,14 +513,19 @@ GET https://api.supabase.com/v1/projects/{ref}/functions
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
<TabItem value="403">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -417,6 +536,8 @@ Failed to retrieve project's functions
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -425,6 +546,7 @@ Failed to retrieve project's functions
<br />
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Create a function {#create-a-function}
@@ -435,24 +557,38 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Path Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">ref</span>
- <span className="method-list-item-label-badge">required</span>
- <span className="method-list-item-validation"></span>
- </h4>
-
- <div class="method-list-item-description">Project ref</div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ ref
+ </span>
+ <span className="method-list-item-label-badge">
+ required
+ </span>
+ <span className="method-list-item-validation">
+
+ </span>
+ </h4>
+
+ <div class="method-list-item-description">
+ Project ref
+ </div>
</li>
</ul>
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Body Parameters
```json
@@ -474,11 +610,16 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
"type": "boolean"
}
},
- "required": ["slug", "name", "body"]
+ "required": [
+ "slug",
+ "name",
+ "body"
+ ]
}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -487,8 +628,11 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
<TabItem value="201">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
```json
{
"schema": {
@@ -504,7 +648,11 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
"type": "string"
},
"status": {
- "enum": ["ACTIVE", "REMOVED", "THROTTLED"],
+ "enum": [
+ "ACTIVE",
+ "REMOVED",
+ "THROTTLED"
+ ],
"type": "string"
},
"version": {
@@ -533,14 +681,19 @@ POST https://api.supabase.com/v1/projects/{ref}/functions
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
<TabItem value="403">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -551,6 +704,8 @@ Failed to create project's function
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -559,6 +714,7 @@ Failed to create project's function
<br />
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Retrieve a function {#retrieve-a-function}
@@ -569,34 +725,57 @@ GET https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Path Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">ref</span>
- <span className="method-list-item-label-badge">required</span>
- <span className="method-list-item-validation"></span>
- </h4>
-
- <div class="method-list-item-description">Project ref</div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ ref
+ </span>
+ <span className="method-list-item-label-badge">
+ required
+ </span>
+ <span className="method-list-item-validation">
+
+ </span>
+ </h4>
+
+ <div class="method-list-item-description">
+ Project ref
+ </div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">function_slug</span>
- <span className="method-list-item-label-badge">required</span>
- <span className="method-list-item-validation"></span>
- </h4>
-
- <div class="method-list-item-description">Function slug</div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ function_slug
+ </span>
+ <span className="method-list-item-label-badge">
+ required
+ </span>
+ <span className="method-list-item-validation">
+
+ </span>
+ </h4>
+
+ <div class="method-list-item-description">
+ Function slug
+ </div>
</li>
</ul>
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -605,8 +784,11 @@ GET https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<TabItem value="200">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
```json
{
"schema": {
@@ -622,7 +804,11 @@ GET https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
"type": "string"
},
"status": {
- "enum": ["ACTIVE", "REMOVED", "THROTTLED"],
+ "enum": [
+ "ACTIVE",
+ "REMOVED",
+ "THROTTLED"
+ ],
"type": "string"
},
"version": {
@@ -654,14 +840,19 @@ GET https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
<TabItem value="403">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -672,6 +863,8 @@ Failed to retrieve function with given slug
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -680,6 +873,7 @@ Failed to retrieve function with given slug
<br />
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Update a function {#update-a-function}
@@ -690,34 +884,56 @@ PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Path Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">ref</span>
- <span className="method-list-item-label-badge">required</span>
- <span className="method-list-item-validation"></span>
- </h4>
-
- <div class="method-list-item-description">Project ref</div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ ref
+ </span>
+ <span className="method-list-item-label-badge">
+ required
+ </span>
+ <span className="method-list-item-validation">
+
+ </span>
+ </h4>
+
+ <div class="method-list-item-description">
+ Project ref
+ </div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">function_slug</span>
- <span className="method-list-item-label-badge">required</span>
- <span className="method-list-item-validation"></span>
- </h4>
-
- <div class="method-list-item-description">Function slug</div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ function_slug
+ </span>
+ <span className="method-list-item-label-badge">
+ required
+ </span>
+ <span className="method-list-item-validation">
+
+ </span>
+ </h4>
+
+ <div class="method-list-item-description">
+ Function slug
+ </div>
</li>
</ul>
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Body Parameters
```json
@@ -739,6 +955,7 @@ PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -747,8 +964,11 @@ PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<TabItem value="200">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
```json
{
"schema": {
@@ -764,7 +984,11 @@ PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
"type": "string"
},
"status": {
- "enum": ["ACTIVE", "REMOVED", "THROTTLED"],
+ "enum": [
+ "ACTIVE",
+ "REMOVED",
+ "THROTTLED"
+ ],
"type": "string"
},
"version": {
@@ -793,14 +1017,19 @@ PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
<TabItem value="403">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -811,6 +1040,8 @@ Failed to update function with given slug
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -819,6 +1050,7 @@ Failed to update function with given slug
<br />
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Delete a function {#delete-a-function}
@@ -829,34 +1061,57 @@ DELETE https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Path Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">ref</span>
- <span className="method-list-item-label-badge">required</span>
- <span className="method-list-item-validation"></span>
- </h4>
-
- <div class="method-list-item-description">Project ref</div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ ref
+ </span>
+ <span className="method-list-item-label-badge">
+ required
+ </span>
+ <span className="method-list-item-validation">
+
+ </span>
+ </h4>
+
+ <div class="method-list-item-description">
+ Project ref
+ </div>
</li>
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">function_slug</span>
- <span className="method-list-item-label-badge">required</span>
- <span className="method-list-item-validation"></span>
- </h4>
-
- <div class="method-list-item-description">Function slug</div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ function_slug
+ </span>
+ <span className="method-list-item-label-badge">
+ required
+ </span>
+ <span className="method-list-item-validation">
+
+ </span>
+ </h4>
+
+ <div class="method-list-item-description">
+ Function slug
+ </div>
</li>
</ul>
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -865,16 +1120,24 @@ DELETE https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}
<TabItem value="200">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
<TabItem value="403">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -885,6 +1148,8 @@ Failed to delete function with given slug
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -893,6 +1158,7 @@ Failed to delete function with given slug
<br />
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### List all secrets {#list-all-secrets}
@@ -903,24 +1169,39 @@ GET https://api.supabase.com/v1/projects/{ref}/secrets
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Path Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">ref</span>
- <span className="method-list-item-label-badge">required</span>
- <span className="method-list-item-validation"></span>
- </h4>
-
- <div class="method-list-item-description">Project ref</div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ ref
+ </span>
+ <span className="method-list-item-label-badge">
+ required
+ </span>
+ <span className="method-list-item-validation">
+
+ </span>
+ </h4>
+
+ <div class="method-list-item-description">
+ Project ref
+ </div>
</li>
</ul>
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -929,8 +1210,11 @@ GET https://api.supabase.com/v1/projects/{ref}/secrets
<TabItem value="200">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
```json
{
"schema": {
@@ -945,20 +1229,28 @@ GET https://api.supabase.com/v1/projects/{ref}/secrets
"type": "string"
}
},
- "required": ["name", "value"]
+ "required": [
+ "name",
+ "value"
+ ]
}
}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
<TabItem value="403">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -969,6 +1261,8 @@ Failed to retrieve project's secrets
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -977,6 +1271,7 @@ Failed to retrieve project's secrets
<br />
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Bulk create secrets {#bulk-create-secrets}
@@ -987,24 +1282,38 @@ POST https://api.supabase.com/v1/projects/{ref}/secrets
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Path Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">ref</span>
- <span className="method-list-item-label-badge">required</span>
- <span className="method-list-item-validation"></span>
- </h4>
-
- <div class="method-list-item-description">Project ref</div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ ref
+ </span>
+ <span className="method-list-item-label-badge">
+ required
+ </span>
+ <span className="method-list-item-validation">
+
+ </span>
+ </h4>
+
+ <div class="method-list-item-description">
+ Project ref
+ </div>
</li>
</ul>
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Body Parameters
```json
@@ -1022,12 +1331,16 @@ POST https://api.supabase.com/v1/projects/{ref}/secrets
"pattern": "/^(?!SUPABASE_).*/"
}
},
- "required": ["name", "value"]
+ "required": [
+ "name",
+ "value"
+ ]
}
}
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1036,16 +1349,24 @@ POST https://api.supabase.com/v1/projects/{ref}/secrets
<TabItem value="201">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
<TabItem value="403">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1056,6 +1377,8 @@ Failed to create project's secrets
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1064,6 +1387,7 @@ Failed to create project's secrets
<br />
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
### Bulk delete secrets {#bulk-delete-secrets}
@@ -1074,24 +1398,38 @@ DELETE https://api.supabase.com/v1/projects/{ref}/secrets
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Path Parameters
<ul className="method-list-group">
<li className="method-list-item">
- <h4 className="method-list-item-label">
- <span className="method-list-item-label-name">ref</span>
- <span className="method-list-item-label-badge">required</span>
- <span className="method-list-item-validation"></span>
- </h4>
-
- <div class="method-list-item-description">Project ref</div>
+ <h4 className="method-list-item-label">
+ <span className="method-list-item-label-name">
+ ref
+ </span>
+ <span className="method-list-item-label-badge">
+ required
+ </span>
+ <span className="method-list-item-validation">
+
+ </span>
+ </h4>
+
+ <div class="method-list-item-description">
+ Project ref
+ </div>
</li>
</ul>
+
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
#### Body Parameters
```json
@@ -1105,6 +1443,7 @@ DELETE https://api.supabase.com/v1/projects/{ref}/secrets
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
#### Responses
@@ -1113,8 +1452,11 @@ DELETE https://api.supabase.com/v1/projects/{ref}/secrets
<TabItem value="200">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
```json
{
"schema": {
@@ -1123,14 +1465,19 @@ DELETE https://api.supabase.com/v1/projects/{ref}/secrets
}
```
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
<TabItem value="403">
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1141,6 +1488,8 @@ Failed to delete secrets with given names
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
</TabItem>
@@ -1148,3 +1497,4 @@ Failed to delete secrets with given names
</Tabs>
<br />
+
diff --git a/apps/reference/_gotrue/config.mdx b/apps/reference/_gotrue/config.mdx
index 391c9378400..9a00a5a380e 100644
--- a/apps/reference/_gotrue/config.mdx
+++ b/apps/reference/_gotrue/config.mdx
@@ -11,21 +11,25 @@ A `config.toml` file is generated after running `supabase init`.
This file is located in the `supabase` folder under `supabase/config.toml`.
+
+
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->
## General {#general}
+
+
### `project_id` {#project_id}
A string used to distinguish different Supabase projects on the same host. Defaults to the working directory name when running `supabase init`.
+
<ul>
- <li>
- Required: <code>true</code>
- </li>
- <li>
- Default: <code>None</code>
- </li>
+<li>Required: <code>true</code></li>
+<li>Default: <code>None</code></li>
</ul>
<br />
+
+
diff --git a/apps/reference/_gotrue/usage.mdx b/apps/reference/_gotrue/usage.mdx
index 3a4a64e2d2f..64eed5538f0 100644
--- a/apps/reference/_gotrue/usage.mdx
+++ b/apps/reference/_gotrue/usage.mdx
@@ -5,11 +5,14 @@ title: Usage
toc_max_heading_level: 3
---
-import Tabs from '@theme/Tabs'
-import TabItem from '@theme/TabItem'
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
Documentation of the gotrue API.
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY IF THIS IS VERSION "next" -->
+
+