DevelopersAPI ReferenceDevices
Approve A Device
Gives a waiting device the document key, wrapped for its public key, from a device you already trust.
Only available to the Travelyfe apps. Tokens issued to other apps receive forbidden.
AuthorizationBearer <token>
A Travelyfe access token.
In: header
Path Parameters
deviceId*string
The device id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/device/string" \ -H "Content-Type: application/json" \ -d '{ "wrappedKey": "string" }'Empty