Mencabut izin pada schema dari pengguna tertentu di dalam Instans Gudang Data Real-time.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
PUT /api/v1/instances/{instanceId}/revokeSchemaPermission HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
No |
ID Instans. |
hgprecn-cn-xxxxxxx |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Badan permintaan. |
|
| databaseName |
string |
No |
The database name. |
test_db |
| userName |
string |
No |
The user ID. For more information, see Hologres account overview. |
p4_1234xxxx |
| schemaName |
string |
No |
The schema name. |
my_schema |
| privileges |
array |
No |
The list of permissions. |
|
|
string |
No |
The permission. For more information, see Hologres permission model. |
developer |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
The ID of the request. |
819A7F0F-2951-540F-BD94-6A41ECF0281F |
| data |
boolean |
true: The operation succeeded. false: The operation failed. |
true |
Contoh
Respons sukses
JSONformat
{
"requestId": "819A7F0F-2951-540F-BD94-6A41ECF0281F",
"data": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.