Assign a pending telematics device to an asset
POST/v2/assets/:assetId/pending-telematics-devices
Assign a pending telematics device to an existing asset.
If the asset is not found, a 404 error is returned.
A pending telematics device and an attached telematics device are mutually exclusive - if the target asset already has an attached telematics device, a 400 error is returned.
The operation is idempotent - assigning a device that is already pending has no additional effect.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Pending telematics device was successfully assigned.
Bad request
Invalid or missing bearer token in Authorization header
User not allowed to make this request
Resource not found
Internal server error