Modifies the IP whitelist of 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-beijing |
| DBInstanceName |
string |
Yes |
The instance name. |
pxsp-********* |
| SecurityIPList |
string |
Yes |
The IP whitelist. Separate multiple IP addresses with commas (,). |
127.0.0.1,192.168.0.0 |
| GroupName |
string |
No |
The whitelist group name. |
default |
| ModifyMode |
string |
No |
The modification mode. Valid values:
|
Append |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C457B28E-9CAB-4B77-B5C6-5D71B7870B6E |
| 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. |
PRIORITY |
| EncodedDiagnosticMessage |
string |
The encoded diagnostic message. |
AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg== |
| AuthPrincipalOwnerId |
string |
The owner ID of the authentication principal. |
111 |
| AuthPrincipalDisplayName |
string |
The display name of the authentication principal. |
xxx |
| Data |
object |
The operation result. |
|
| DBInstanceName |
string |
The instance name. |
pxsp-********* |
| GroupName |
string |
The whitelist group name. |
special |
| SecurityIPList |
string |
The IP whitelist. |
100.104.187.192/26,100.104.225.192/26,100.104.145.64/26 |
Examples
Success response
JSON format
{
"RequestId": "C457B28E-9CAB-4B77-B5C6-5D71B7870B6E",
"AccessDeniedDetail": {
"AuthAction": "xxx",
"AuthPrincipalType": "222",
"NoPermissionType": "ImplicitDeny",
"PolicyType": "PRIORITY",
"EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg==",
"AuthPrincipalOwnerId": "111",
"AuthPrincipalDisplayName": "xxx"
},
"Data": {
"DBInstanceName": "pxsp-*********",
"GroupName": "special",
"SecurityIPList": "100.104.187.192/26,100.104.225.192/26,100.104.145.64/26"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.