You can call this operation to enable a client account added to a specific Smart Access Gateway (SAG) APP instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
RegionId | String | Yes | cn-shanghai |
The ID of the region where the SAG APP instance is deployed. |
SmartAGId | String | Yes | sag-va03wf4l4idaj***** |
The ID of the SAG APP instance. |
UserName | String | Yes | 1234 |
The username of the client account. |
Action | String | No | EnableSmartAccessGatewayUser |
The operation that you want to perform. Set the value to EnableSmartAccessGatewayUser. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | F5894299-84A2-48C1-A999-28908B99F45D |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=EnableSmartAccessGatewayUser
&RegionId=cn-shanghai
&SmartAGId=sag-va03wf4l4idaj*****
&UserName=1234
&<Common request parameters>
Sample success responses
XML
format
<EnableSmartAccessGatewayUserResponse>
<RequestId>F5894299-84A2-48C1-A999-28908B99F45D</RequestId>
</EnableSmartAccessGatewayUserResponse>
JSON
format
{
"RequestId":"F5894299-84A2-48C1-A999-28908B99F45D"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | Forbbiden.SubUser | You are not authorized to operate on the specified resource. | The error message returned because you do not have the permission to manage the specified resource. |
403 | Forbidden | User not authorized to operate on the specified resource. | The error message returned because the user does not have the permission to manage the specified resource. |
For a list of error codes, visit the API Error Center.