Approves PolarClaw device pairing.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ApprovePolarClawDevicePair |
update |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The application ID. |
pa-************** |
| PairRequestId |
string |
Yes |
The pairing request ID. |
req-abc-123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
25C70FF3-D49B-594D-BECE-0DE2BA1D8BBB |
| Message |
string |
The response message. |
successful |
| Code |
integer |
The response status code. |
200 |
| ApplicationId |
string |
The application ID. |
pa-******************** |
| PairRequestId |
string |
The pairing request ID. |
req-abc-123 |
| Device |
object |
The paired device information. |
|
| DeviceId |
string |
The unique identifier of the device. |
device-l7rdl36iz6op66zf |
| DisplayName |
string |
The display name of the device. |
test |
| Platform |
string |
The operating system platform. |
linux |
| DeviceFamily |
string |
The device family. |
server |
| Role |
string |
The device role. |
operator |
| Scopes |
array |
The list of permission scopes. |
|
|
string |
The permission scope. |
operator.read |
|
| CreatedAtMs |
integer |
The creation time of the device pairing in Unix milliseconds. |
1778662316663 |
Examples
Success response
JSON format
{
"RequestId": "25C70FF3-D49B-594D-BECE-0DE2BA1D8BBB",
"Message": "successful",
"Code": 200,
"ApplicationId": "pa-********************",
"PairRequestId": "req-abc-123",
"Device": {
"DeviceId": "device-l7rdl36iz6op66zf",
"DisplayName": "test",
"Platform": "linux",
"DeviceFamily": "server",
"Role": "operator",
"Scopes": [
"operator.read"
],
"CreatedAtMs": 1778662316663
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.