Disables a user of a Smart Access Gateway instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:DisableSmartAccessGatewayUser |
*SmartAccessGateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserName |
string |
Yes |
The username. |
1234 |
| SmartAGId |
string |
Yes |
The instance ID of the Smart Access Gateway. |
sag-va03wf4l4idaj***** |
| RegionId |
string |
Yes |
The region ID. |
cn-shanghai |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
05E86199-6CF6-4F4E-A9CE-9BFC5B020B72 |
Examples
Success response
JSON format
{
"RequestId": "05E86199-6CF6-4F4E-A9CE-9BFC5B020B72"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Forbbiden.SubUser | You are not authorized to operate on the specified resource. | You do not have permissions to manage the specified resource. |
| 403 | Forbidden | User not authorized to operate on the specified resource. | You do not have permissions to manage the specified resource. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.