client.databases.get_table_privileges_schema_name

A method of the Databases endpoint.

get_table_privileges_schema_name(id: int, schema_name: str, table_name: str, *, credential_id: int = None) Response

Show table privileges

API URL: GET /databases/{id}/table_privileges/{schema_name}/{table_name}

import civis
client = civis.APIClient()
response = client.databases.get_table_privileges_schema_name(...)
Parameters:
idint

The ID of the database

schema_namestr

The name of the schema

table_namestr

The name of the table

credential_idint, optional

If provided, schemas will be filtered based on the given credential.

Returns:
civis.Response
  • granteestr

    Name of the granted user or group

  • grantee_typestr

    User or group

  • privilegesList[str]

    Privileges that the grantee has on this resource

  • grantable_privilegesList[str]

    Privileges that the grantee can grant to others for this resource