UpdatePermissions
Updates the permissions of a user or data lake role.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:UpdatePermissions |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/metastore/auth/permissions/ HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Body |
object |
No |
The HTTP request body, in JSON format. |
|
| Type |
string |
Yes |
The authorization type. Only Hive is supported. Valid values:
|
hive |
| MetaResource | MetaResource |
Yes |
The metadata resource to authorize. |
|
| Accesses | Accesses |
Yes |
The list of access permissions to grant. |
|
| DelegateAccesses | Accesses |
Yes |
The list of delegable access permissions. This feature is not supported. |
|
| Principal | Principal |
Yes |
The user or role for authorization. The format is as follows:
|
|
| CatalogId |
string |
No |
The catalog ID. |
1344371 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| Code |
string |
The status code description. |
OK |
| Message |
string |
The response message. |
. |
| RequestId |
string |
The request ID. |
B7F4B621-E41E-4C84-B97F-42B5380A32BB |
| Success |
boolean |
Indicates whether the call is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Code": "OK",
"Message": ".",
"RequestId": "B7F4B621-E41E-4C84-B97F-42B5380A32BB",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.