Enables the public endpoint for a Supabase instance.
Operation description
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| DBInstanceName |
string |
Yes |
The instance name. |
pxsp-********* |
| ConnectionString |
string |
No |
The custom endpoint prefix. |
pxsp-********* |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C457B28E-9CAB-4B77-B5C6-5D71B7870B6E |
| Data |
object |
The operation result. |
|
| DBInstanceName |
string |
The instance name. |
pxc-********* |
| ConnectionString |
string |
The public endpoint. |
test2.polarx.huhehaote.rds.aliyuncs.com |
| TaskId |
integer |
The task ID. |
****** |
| AccessDeniedDetail |
object |
The details of the access denial. |
|
| AuthAction |
string |
The authentication action. |
xxx |
| AuthPrincipalType |
string |
The type of the authentication principal. |
222 |
| NoPermissionType |
string |
The type of the permission denial. |
ImplicitDeny |
| PolicyType |
string |
The policy type. |
System |
| EncodedDiagnosticMessage |
string |
The diagnostic information. |
AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg== |
| AuthPrincipalOwnerId |
string |
The owner ID of the authentication principal. |
111 |
| AuthPrincipalDisplayName |
string |
The display name of the authentication principal. |
xxx |
Examples
Success response
JSON format
{
"RequestId": "C457B28E-9CAB-4B77-B5C6-5D71B7870B6E",
"Data": {
"DBInstanceName": "pxc-*********",
"ConnectionString": "test2.polarx.huhehaote.rds.aliyuncs.com",
"TaskId": 0
},
"AccessDeniedDetail": {
"AuthAction": "xxx",
"AuthPrincipalType": "222",
"NoPermissionType": "ImplicitDeny",
"PolicyType": "System",
"EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg==",
"AuthPrincipalOwnerId": "111",
"AuthPrincipalDisplayName": "xxx"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.