You can call UpdateSharedAccountPermission to update the permissions of a shared account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:UpdateSharedAccountPermission |
update |
*Service
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ClientToken |
string |
No |
A client token to ensure the idempotence of the request. Generate a unique value for this parameter on your client. The client token can contain only ASCII characters. |
10CM943JP0EN9D51H |
| ServiceId |
string |
Yes |
The service ID. |
service-0d6e1d846e4c4axxxxxx |
| UserAliUid |
integer |
Yes |
The whitelisted account with which the service is shared. |
1563457855xxxxxx |
| Permission |
string |
Yes |
The permission type. Valid values:
|
Deployable |
| Type |
string |
No |
The type of service sharing. The default value is SharedAccount. Valid values:
|
SharedAccount |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C68B41B4-A646-5680-8A33-67884E3823A8 |
Examples
Success response
JSON format
{
"RequestId": "C68B41B4-A646-5680-8A33-67884E3823A8"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.