Device
Device Management
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
publicKeystringRequired
Body
Make all properties in T optional
sdkVersionstringOptionalExample:
1.0.0idstringOptionalExample:
deadbeef-dead-beef-cafe-deadbeefcafepushTokenstringOptionalExample:
Firebase Push Registration ID. Should be regularly updated if changes.
bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...namestringOptionalExample:
iPhone 14osNamestringOptionalExample:
iOSosVersionstringOptionalExample:
16.2deviceManufacturerstringOptionalExample:
AppledeviceModelstringOptionalExample:
SM-265NlangstringOptionalExample:
enResponses
200
Ok
application/json
put
/device/v1/devices/{publicKey}200
Ok
2FA (Two-Factor Authorization)
Updates existing 2FA request, such as requesting to the other device.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
destDeviceIdstringRequired
Responses
200
Ok
application/json
put
/device/v1/2fa/{id}200
Ok
Approves 2FA request. The client should sign the message from the request with the device key, and provide it to the signature field in the request.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
txIdstringRequiredExample:
The transaction ID of the transaction that the user signed.
deadbeef...deadbeefResponses
204Success
application/json
post
/device/v1/2fa/{id}/approve204Success
Last updated
Was this helpful?