All Products
Search
Document Center

:UpdateRole

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

PUT /api/metastore/auth/roles

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectNo
RoleNamestringNo

RoleName

Response parameters

ParameterTypeDescriptionExample
object

Response

RequestIdstring

requestId

604E5919-C6FF-54CE-9C23-C5350E6F5415
Codestring

code

OK
Messagestring

message

.
Successboolean

success

true

Examples

Sample success responses

JSONformat

{
  "RequestId": "604E5919-C6FF-54CE-9C23-C5350E6F5415",
  "Code": "OK",
  "Message": ".",
  "Success": true
}

Error codes

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