All Products
Search
Document Center

Hologres:RevokeTablePermission

Last Updated:Sep 17, 2026

Cancels table authorization.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

PUT /api/v1/instances/{instanceId}/revokeTablePermission HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

No

The instance ID.

hgprecn-cn-i7m2v08uu00a

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

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

tableName

string

No

The table name.

my_table

privileges

array

No

The list of permissions.

string

No

The permission. For more information, see Hologres permission model.

INSERT

allTable

boolean

No

Specifies whether the operation takes effect on all tables. Valid values:

  • true: The operation takes effect on all tables.

  • false/null: The operation does not take effect on all tables.

false

columnNames

array

No

The list of column names.

string

No

The column name.

Response elements

Element

Type

Description

Example

object

Schema of Response

requestId

string

Id of the request

819A7F0F-2951-540F-BD94-6A41ECF0281F

data

boolean

Indicates whether the operation is successful. Valid values:

  • true: Successful.

  • false: Failed.

true

Examples

Success response

JSON format

{
  "requestId": "819A7F0F-2951-540F-BD94-6A41ECF0281F",
  "data": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.