tencent cloud

APIs

CreatePermissionRanks

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-06-16 17:20:42

1. API Description

Domain name for API request: bi.intl.tencentcloudapi.com.

Create row/column permissions

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: CreatePermissionRanks.
Version Yes String Common Params. The value used for this API: 2022-01-05.
Region No String Common Params. This parameter is not required.
TableId No Integer

page number

Mode No String

Mode

Enumeration value:

  • ALL: All
  • Specify: Specify
  • TAG: Tag

Default value: ALL

RoleType No String

Role type

Enumeration value:

  • ROLES: By role
  • Others: Other

Default value: Others

RoleId No Integer

All page numbers

RulerInfo No String

Rule information

Type No String

Type

Enumeration value:

  • ROW: row permission
  • COLUMN: column permission

Default value: ROW

OpenStatus No String

Enabled status

Enumeration value:

  • Open: Turn on
  • Close: Turn off

Default value: Close

ProjectId No Integer

Project ID.

RowColumnConfigList.N No Array of RowColumnConfig

Row/column permission configuration

3. Output Parameters

Parameter Name Type Description
ErrorInfo ErrorInfo Custom error information object
Note: This field may return null, indicating that no valid values can be obtained.
Msg String

Message


Note: This field may return null, indicating that no valid values can be obtained.
Extra String

112


Note: This field may return null, indicating that no valid values can be obtained.
Data String

1


Note: This field may return null, indicating that no valid values can be obtained.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Creating row/column permissions

Create row/column permissions

Input Example

POST / HTTP/1.1
Host: bi.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreatePermissionRanks
<Common request parameters>

{
    "TableId": 10628115,
    "Mode": "all",
    "RoleType": "others",
    "RoleId": 0,
    "RulerInfo": "{\"Logic\":\"and\",\"Items\":[]}",
    "Type": "column",
    "OpenStatus": "open",
    "ProjectId": 11055177,
    "RowColumnConfigList": []
}

Output Example

{
    "Response": {
        "Msg": "Default business success",
        "RequestId": "131ecec6-e8c7-4147-af1c-3c5725307583",
        "Extra": "",
        "Data": null
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
InternalError.Internal Internal error.
MissingParameter.MissingParam The required parameter is missing.
UnauthorizedOperation.Authorize Permission error.
UnsupportedOperation.BIError Default business exception.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan