All Products
Search
Document Center

:GrantRolesToUser

Last Updated:Nov 15, 2024

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

POST /api/metastore/auth/roles/grantroles HTTP/1.1

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.