# Link device to account Links the specified device to the user account. To enable authentication via device ID and linking, use the instruction. Endpoint: POST /users/me/devices/{device_type} Version: v1 Security: Bearer ## Path parameters: - `device_type` (string, required) Type of the device. Enum: "android", "ios", "macos", "windows" ## Request fields (application/json): - `device` (string, required) Manufacturer and model name of the device. Example: "ONEPLUS A6003" - `device_id` (string, required) Device ID: * For Android, it is an [ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID) constant. * For iOS, it is an [identifierForVendor](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor?language=objc) property. Example: "1AF516EFACD646F6" ## Response 401 fields (application/json): - `error` (object, required) - `error.code` (string, required) Error code. Example: "003-061" - `error.description` (string, required) Error description. Example: "Object not found." - `error.details` (object) Additional information. ## Response 422 fields (application/json): - `error` (object, required) - `error.code` (string, required) Error code. Example: "003-061" - `error.description` (string, required) Error description. Example: "Object not found." - `error.details` (object) Additional information. ## Response 429 fields (application/json): - `error` (object, required) - `error.code` (string, required) Error code. Example: "003-061" - `error.description` (string, required) Error description. Example: "Object not found." - `error.details` (object) Additional information. ## Response 204 fields