ApprovePolarClawDevicePair
Approves a PolarClaw device pairing.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The application ID. |
pa-xxx |
| PairRequestId |
string |
Yes |
The pairing request ID. |
req-abc-123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
|
| Message |
string |
The response message. |
|
| Code |
integer |
The response status code. |
|
| ApplicationId |
string |
The application ID. |
|
| PairRequestId |
string |
The pairing request ID. |
|
| Device |
object |
The paired device information. |
|
| DeviceId |
string |
The unique ID of the device. |
|
| DisplayName |
string |
The display name of the device. |
|
| Platform |
string |
The operating system of the device. |
|
| DeviceFamily |
string |
The device family. |
|
| Role |
string |
The role of the device. |
|
| Scopes |
array |
A list of permission scopes. |
|
|
string |
The permission scope. |
||
| CreatedAtMs |
integer |
The creation time of the device pairing, in Unix milliseconds. |
Examples
Success response
JSON format
{
"RequestId": "",
"Message": "",
"Code": 0,
"ApplicationId": "",
"PairRequestId": "",
"Device": {
"DeviceId": "",
"DisplayName": "",
"Platform": "",
"DeviceFamily": "",
"Role": "",
"Scopes": [
""
],
"CreatedAtMs": 0
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.