Binds a Smart Access Gateway device to a Smart Access Gateway instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:BindSerialNumber |
update |
*SmartAccessGateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Smart Access Gateway instance. |
cn-hangzhou |
| SmartAGId |
string |
Yes |
The instance ID of the Smart Access Gateway. |
sag-r79m060r6oy55****** |
| SerialNumber |
string |
Yes |
The serial number of the Smart Access Gateway device. |
sage62x021922**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
61C33444-D8C5-4018-A06C-BA8C8812BEF6 |
Examples
Success response
JSON format
{
"RequestId": "61C33444-D8C5-4018-A06C-BA8C8812BEF6"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SAG.InstanceIdEmpty | You must specify the SAG instance ID. | You must specify the SAG instance ID. |
| 400 | SAG.InstanceNoFound | The specified SAG instance does not exist. | The specified SAG instance does not exist. |
| 400 | SAG.SnOverLimit | The maximum number of serial numbers bound to the SAG instance is exceeded. | The maximum number of serial numbers bound to the SAG instance is exceeded. |
| 400 | SAG.SnConflict | The specified SerialNumber has been bound to another SAG instance. | The specified SerialNumber has been bound to another SAG instance. |
| 400 | ResourceInOperating | The specified resource is being used. Please try later. | The specified resource is being used. Please try later. |
| 400 | SAG.InvalidSerialNumber | The specified SerialNumber is invalid. | The specified SN is invalid. |
| 500 | SmartAccessGatewayInArrears | The specified Smart Access Gateway has expired. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.