All Products
Search
Document Center

:GrantRolesToUser

Last Updated:May 20, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /api/metastore/auth/roles/grantroles

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

RequestId

81B90E1B-7514-5817-9D59-0EA9E2215876
Codestring

Code

OK
Messagestring

Message

.
Successboolean

Success

true

Examples

Sample success responses

JSONformat

{
  "RequestId": "81B90E1B-7514-5817-9D59-0EA9E2215876",
  "Code": "OK",
  "Message": ".",
  "Success": true
}

Error codes

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