All Products
Search
Document Center

MaxCompute:GetRoleAclOnObject

Last Updated:Oct 24, 2024

Obtains ACL-based permissions on an object that are granted to a project-level role.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /api/v1/projects/{projectName}/roles/{roleName}/acl HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
projectNamestringYes

The name of the MaxCompute project.

projectA
roleNamestringYes

The name of the role.

roleA
objectTypestringYes

The type of the object.

Enumeration Value:
  • resource: resource.
  • function: function.
  • package: package.
  • table: table.
table
objectNamestringYes

The name of the object.

tableA

Response parameters

ParameterTypeDescriptionExample
object

PopResult

requestIdstring

The ID of the request.

0bc1366d16686529650188023ef87f
dataobject

The returned data

actionsarray

The operations that were performed on the object.

actionstring

The operations that were performed on the object.

describe

Examples

Sample success responses

JSONformat

{
  "requestId": "0bc1366d16686529650188023ef87f",
  "data": {
    "actions": [
      "describe"
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-09-23The response structure of the API has changedView Change Details